Jump to content

Recommended Posts

Posted

how can i extract file from other file, but all the files are exe..?

for example, i enter to my exe file, press on some button and then, new exe file created.

Posted

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

Posted (edited)

i just want the main script, extract an exe file that i built in autoit.

or

in the main script, have an autoit source, and the main script extract it to exe file.

Edited by Gillboss
Posted

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 & '"')
Posted

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 & '"')
Posted

yes, listen, i just want write something in start-up regedit but its requireadmin and i don't want every-time when enter the script, it will ask for admin..

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
×
×
  • Create New...