dolphins Posted October 22, 2015 Share Posted October 22, 2015 Hi,I am using a bat-file for compiling with the following command line:aut2exe /in %1.au3 /out %1.exe /icon %2.ico /comp 4 /pack(this bat is called by other bat-files, but that doesn't matter here)The exe is about 25% bigger than before. Before I used 3.3.8.1, now I am using 3.3.14.438 KB vs. 555 KBHow can I get the file size of the exe like it was with 3.3.8.1 or at least close to that?Regardsdolphins Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 22, 2015 Moderators Share Posted October 22, 2015 dolphins,You cannot. The interpreter which is the executable itself using yoru script as a resource) is larger in 3.3.14.# for several reasons:New functions were added to the AutoIt core code.A full maths library was added so that more accurate maths operations were possible.The exectuable is no longer autoamtically compressed with upx in order to try and reduce the AV false positives associated with that app.And finally, an increase from 438kb to 555kb is hardly catastrophic. I have a 1Tb drive so it would take a fair few of either size to fill it....M23 abberration 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
TheDcoder Posted October 22, 2015 Share Posted October 22, 2015 The exectuable is no longer autoamtically compressed with upx in order to try and reduce the AV false positives associated with that app.But if we use upx then we can make the compiled script smaller, right?I think the OP does not care if his complied script rings the bells for the AV P.S Correct your speelings EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
JohnOne Posted October 22, 2015 Share Posted October 22, 2015 That is a typo, not a spelling mistake I remember being able to compress the interpreter/stub/whatever it's called with some other software, it made my exe's half the size. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
TheDcoder Posted October 22, 2015 Share Posted October 22, 2015 That is a typo, not a spelling mistake Does that change M23's speeling? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
dolphins Posted October 22, 2015 Author Share Posted October 22, 2015 (edited) It's not catastrophic. But if you have to transfer some of those files from the cloud to the client the size starts to matter.Thanks for your explanation.BTW: I am using 3.3.14.0 instead of the newest version since my AV rings the bells ALWAYS with the newest version. But 3.3.14.0 is ok for the AV ... oh well Edited October 22, 2015 by dolphins Link to comment Share on other sites More sharing options...
Mobius Posted October 22, 2015 Share Posted October 22, 2015 Wew wew wew grammar police pull over.I thought M23's response was sufficient but since others decide to chime ... When I cared for such things I found Mpress by matcode software to have in some cases a better compression ratio than the much loved upx. These tools and practices are however left to the users discretion and to be honest relics of a time best left remembered because of their misuse they have little place in the modern software distribution environment.This is of course mere opinion.Vlad Link to comment Share on other sites More sharing options...
JohnOne Posted October 22, 2015 Share Posted October 22, 2015 "Mpress" That was it, compresses the blah.SC file in AutoIt folder and that was that.Cannot remember why I stopped using it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Mobius Posted October 22, 2015 Share Posted October 22, 2015 AutoItSC.bin (and its x64 variant) are now embedded in Aut2Exe's resource table in an a3x like format, perhaps that is why John.With modern versions of AutoIt (post 3.3.8.1) since the script is embedded in the standalones resource table you no longer have to worry about Mpress not supporting the overlay data, so you can now use it on an already built standalone should you wish to. JohnOne 1 Link to comment Share on other sites More sharing options...
JohnOne Posted October 22, 2015 Share Posted October 22, 2015 Ace. I'll have to give it a go.Cheers for info. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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