JamesYoung Posted November 15, 2009 Share Posted November 15, 2009 Hi, I'm wondering if I can bundle multiple files into one exe: (with autoit) blabla.exe clutter.dll flotsam.dll jetsam.dll junk.sll So that when I click the exe, it will unpack all the files, then when the program is finished running, it will clean up the mess it made. Then it's just the same exe again. I'm really new at auto it.... Link to comment Share on other sites More sharing options...
Authenticity Posted November 15, 2009 Share Posted November 15, 2009 You can use FileInstall and compile you script. Then delete the files when the script exits. Link to comment Share on other sites More sharing options...
JamesYoung Posted November 15, 2009 Author Share Posted November 15, 2009 Thanks! Link to comment Share on other sites More sharing options...
JamesYoung Posted November 15, 2009 Author Share Posted November 15, 2009 Is this the way I do it? FileInstall ("c:\forbundling\picture.bmp", @WorkingDir, 1) RunWait ("pbrush.exe picture.bmp") FileDelete ("picture.bmp") Link to comment Share on other sites More sharing options...
pecloe Posted November 16, 2009 Share Posted November 16, 2009 FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1) Run(@ScriptDir & "\pbrush.exe") FileDelete(@ScriptDir & "\picture.bmp") Link to comment Share on other sites More sharing options...
Developers Jos Posted November 16, 2009 Developers Share Posted November 16, 2009 (edited) FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1) Run(@ScriptDir & "\pbrush.exe") FileDelete(@ScriptDir & "\picture.bmp") did you mean?: FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1) ShellExecuteWait(@ScriptDir & "\picture.bmp") FileDelete(@ScriptDir & "\picture.bmp") Jos Edited November 16, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JamesYoung Posted November 17, 2009 Author Share Posted November 17, 2009 This is great! Thanks! 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