Sign in to follow this  
Followers 0
Spiff59

Alternating size of Autoit executable.

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



#3 ·  Posted (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? :x

Thanks.

Edited by Spiff59

Share this post


Link to post
Share on other sites

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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