Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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')

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
  • Recently Browsing   0 members

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