Sign in to follow this  
Followers 0
houseonfire

Compile .exe from an .exe

11 posts in this topic

I need a way to generate an exe from an already compiled exe.

Example:

I type my specified information into the GUI, then hit the Generate button, and the .exe will be made with the specified information included.

Is this possible?

Share this post


Link to post
Share on other sites



Will this first .exe be on a computer with autoit installed?

If so then could work like so:

Type info into GUI

Click Generate

First .exe filewrites an .au3 file

then executes the compiler to compile the .au3

;)

Share this post


Link to post
Share on other sites

hey! why dont you include the exe which you want to generate? or using FileInstall?

can you explain what are you trying to do?


[font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php
$Life = "Happy"
If @Error Then
$Life = "Risk"

Share this post


Link to post
Share on other sites

They would not have Autoit installed.

I just want it to generate the new exe, with the specified information typed into the GUI.

It would be a different generated exe, depending on the information provided in the GUI.

Share this post


Link to post
Share on other sites

I'm fairly sure you can't do that with autoit unless they have it installed. Autoit isn't a standalone compiler so you can't generate an .exe with it unless you do something like LongBowNZ said.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Could we get some examples of the data you want to type into the GUI?

EDIT: Cause I'm thinking that if the changes to the exe are minimal you could write the changes to an .ini file and distribute that with the .exe..

Edited by LongBowNZ

Share this post


Link to post
Share on other sites

You will have to include these files Aut2exe.exe, upx.exe and AutoItSC.bin (fileinstall).

Use the commandline to compile it, this way you can compile a script even if you don't have autoit installed.

Share this post


Link to post
Share on other sites

You will have to include these files Aut2exe.exe, upx.exe and AutoItSC.bin (fileinstall).

Use the commandline to compile it, this way you can compile a script even if you don't have autoit installed.

That is absolutely possible on someone who doesn't have AutoIt installed on their computer. JustinReno have some examples in the forum, just search it.

Share this post


Link to post
Share on other sites

When I do the FileInstall, It wants a file path..

I know its @scriptdir for where the program is, but how do i get the name of the program (in case the program was renamed)

Share this post


Link to post
Share on other sites

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  
Followers 0