Sign in to follow this  
Followers 0
streetglow

Including .exe file

4 posts in this topic

Hi, is it possible to include a .exe file?

I mean, that it isn't necessary to have another file anymore.

I want to create an automatic updater, I have already written an updater in Delphi, but it still isn't automatic.

I'd like to make it automatic but it must be only 1 file.

Greets, Streetglow.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You could copy the hex code of your exe into autoit, let it make a new file and paste that code into the empty file, never tried it though.

Edited by Das Ami

Share this post


Link to post
Share on other sites

Hi, is it possible to include a .exe file?

I mean, that it isn't necessary to have another file anymore.

I want to create an automatic updater, I have already written an updater in Delphi, but it still isn't automatic.

I'd like to make it automatic but it must be only 1 file.

Greets, Streetglow.

If you mean run it from inside the compiled AutoIT executable, no. But you can FileInstall() it to disk, run it, then delete it. FileInstall() just puts a zipped copy inside the script which will be unzipped to the specified location on script execution.

:lmao:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

FileInstall("c:\dest\dest.exe", "c:\target\target.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  
Followers 0