JamesYoung Posted November 15, 2009 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....
Authenticity Posted November 15, 2009 Posted November 15, 2009 You can use FileInstall and compile you script. Then delete the files when the script exits.
JamesYoung Posted November 15, 2009 Author 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")
pecloe Posted November 16, 2009 Posted November 16, 2009 FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1) Run(@ScriptDir & "\pbrush.exe") FileDelete(@ScriptDir & "\picture.bmp")
Developers Jos Posted November 16, 2009 Developers 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.
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