Sign in to follow this  
Followers 0
StandardUser

Compiled exe size

9 posts in this topic

Good day,

as far as I remember, compiled exe size in old versions of AutoIt was about 80kb("Hello world" type application). Now its about 300kb. Any ideas how to reduce it? Or anyone knows a better compressor than UPX? Thank you.

Share this post


Link to post
Share on other sites



Good day,

as far as I remember, compiled exe size in old versions of AutoIt was about 80kb("Hello world" type application). Now its about 300kb. Any ideas how to reduce it? Or anyone knows a better compressor than UPX? Thank you.

Not really and have been discussed many times on these forums.

Jos


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

Share this post


Link to post
Share on other sites
:mellow:

Share this post


Link to post
Share on other sites

Long story short - I want my application to be updateable through web interface, so the smaller the exe, the more traffic it saves. Also there are some other reasons.

Share this post


Link to post
Share on other sites

300KB is not alot unless you have like 300,000 people using (and updating it), and there is really no way to compress the script much more as explained by the Shannon Limit - which is why zipping a rar archive only saves another ~1KB.


Share this post


Link to post
Share on other sites

Long story short - I want my application to be updateable through web interface, so the smaller the exe, the more traffic it saves. Also there are some other reasons.

I like the 'some other reasons' bit... that helps to have a good and open discussion.

Anyways: 300kb is NOTHING these days when looking at what is done with on-line applications.


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

Share this post


Link to post
Share on other sites

Long story short - I want my application to be updateable through web interface, so the smaller the exe, the more traffic it saves. Also there are some other reasons.

You might want to look into compiling to A3X then, that'll save > 200k since you don't need to

distribute the scripting engine with your updates

whim

Share this post


Link to post
Share on other sites

Hmm...thats a good idea, he could make the initial download be the a3x program, and an exe that just runs the a3x file with it's packed interpreter via /AutoIt3ExecuteScript then exits :mellow:


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