Jump to content

Creating and Expanding using cabinet.dll


Proph
 Share

Recommended Posts

I'm wanting to try to make an autoit script that utalizes cabinet.dll for creating and expanding .cab files or .??_ files. Has anyone messed around with this before? Can someone give me some tips or show me some code on how to use this dll? Would I use dllcall functions for this?

Thanks for any tips you can give me. :)

Here is some info I found about cabinet.dll

http://www.delphi3000.com/articles/article_1820.asp

Edited by Proph
Link to comment
Share on other sites

  • 3 months later...

Simpler solution is to use some external console application.

simpler to code, but harder to maintain, you have to rely on fileinstall, and recompiling when the external tool is updated, etc.

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Link to comment
Share on other sites

simpler to code, but harder to maintain, you have to rely on fileinstall, and recompiling when the external tool is updated, etc.

Then make some INI file with parametres for add,exctract and so on ...

and you needn't recompile your script.

Instead fileinstall just have external EXE with your script.

Edited by Zedna
Link to comment
Share on other sites

  • 1 month later...

Hmmm... i have searched for a while for a way. But I am not too good with dllcalls in autoit to know what to do. :)

I'm gonna try again and see what I come up with. Maybe I'll get somewhere with it. I do not want to use makecab or expand.exe anymore. Those are what I use currently. As far as I know makecab does not allow you to create cabs with sub dirs... but cabinet.dll does.

Edit:

I tried... but I get lost in this dllcall stuff. :)

I went ahead and added a doc to the thread as an attachment above. It has all info needed about cabinet.dll

Edited by Proph
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...