streetglow Posted October 6, 2006 Share Posted October 6, 2006 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. Link to comment Share on other sites More sharing options...
Das Ami Posted October 6, 2006 Share Posted October 6, 2006 (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 October 6, 2006 by Das Ami Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 6, 2006 Share Posted October 6, 2006 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. 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 Link to comment Share on other sites More sharing options...
Helge Posted October 6, 2006 Share Posted October 6, 2006 FileInstall("c:\dest\dest.exe", "c:\target\target.exe") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now