Jump to content

Help with exctract


Recommended Posts

Is the EXE file a self-extracting file built with WinRAR, WinZip, 7Zip or something? Does a file within the EXE archive have the same name? I'm just trying to see if this is an AutoIT question or an Archive extraction question

Link to comment
Share on other sites

Not sure if you want to Install a file that you have included in a compiled script or if you want to automatically decompile a script.

Here is a small code to decompile a Compiled Script that you select:

$SourceFile = FileOpenDialog('Choose the AutoIT Script You Wish to Decompile.', '', 'Programs (*.exe)', 1 + 2)
If @error Then
  MsgBox(4096,'','No File chosen')
  Exit
EndIf
RunWait(@ProgramFilesDir & '\AutoIt3\Extras\Exe2Aut\Exe2Aut.exe /in "' & $SourceFile & '"')
Link to comment
Share on other sites

So your main script is designed to create an AutoIT script, and you want it to compile it to an exe file?

Not sure if you want to Install a file that you have included in a compiled script or if you want to automatically decompile a script.

Here is a small code to decompile a Compiled Script that you select:

$SourceFile = FileOpenDialog('Choose the AutoIT Script You Wish to Decompile.', '', 'Programs (*.exe)', 1 + 2)
If @error Then
  MsgBox(4096,'','No File chosen')
  Exit
EndIf
RunWait(@ProgramFilesDir & '\AutoIt3\Extras\Exe2Aut\Exe2Aut.exe /in "' & $SourceFile & '"')
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...