Spiff59 Posted December 30, 2010 Share Posted December 30, 2010 A quick search didn't find anything regarding this, although it has to have been discussed in the past... Why, when I compile an autoit script does the size of the executable generated vary wildly in size? I just changed one line on a script, and the executable went from 323K to 660K. I've noticed this for a long long time. It occurs with all my scripts. The next time I change and recompile the script it will just as likely drop back down to 323K. There's some sort of glitch in the compile routines somewhere... I do always run my scripts through the Obfuscator with the /SO parm. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 30, 2010 Developers Share Posted December 30, 2010 Are you using UPX on both? 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...
Spiff59 Posted December 30, 2010 Author Share Posted December 30, 2010 (edited) Are you using UPX on both?The UPX box was checked by default in my "Compile with Options" explorer extension dialog.Not being aware of what it does, I have never bothered to modify the setting.It may also be that I'm a complete idiot, for as I browse my production executables, none are at the 600K+ level.Let me guess, the initial executable may be 600K, then the UPX step kicks in and crunches it down?So, when I'm often seeing a recompile jump from 300K to 600K, I just need to wait a bit, or refresh my windows explorer, and like magic, it'll shrink (once UPX is finished)?Like I said, a complete idiot, lol, can I delete this thread? Thanks. Edited December 30, 2010 by Spiff59 Link to comment Share on other sites More sharing options...
Developers Jos Posted December 30, 2010 Developers Share Posted December 30, 2010 It is correct that aut2exe will create the script and then UPX will either be ran by aut2exe or autoit3wrapper, depending on your setup, which will then compress the PE header of the EXE. 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...
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