Jump to content
Sign in to follow this  
Shyke

Unzip Files?

Recommended Posts

Congradulations, you have confused the crap outta me with that topic!

Could anyone simplify it to what I need please?

Share this post


Link to post
Share on other sites

Would FileInstall() suit your needs? Personally I would consider it a lot less mucking around.

Share this post


Link to post
Share on other sites

Then in my opinion, it's easiest to bundle a small freeware unzipper within your compiled script, FileInstall() it to a temporary location and invoke that.

Share this post


Link to post
Share on other sites

Some of the information in the code below is fictitious for obvious reasons...

FileInstall('TheUnzipper.exe', @TempDir)
Local $Cmd = StringFormat('%s\TheUnzipper.exe -file "%s" -extract_to "%s"', @TempDir, @ScriptDir & '\TheZip.zip', @ProgramFilesDir & '\TheDestination')
; MsgBox(0, 'Debug', $Cmd)
RunWait($Cmd, '', @SW_HIDE)
FileDelete(@TempDir & '\TheUnzipper.exe')

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...