Matt @ MPCS Posted September 13, 2007 Posted September 13, 2007 (edited) OS Version: MS Windows Vista PremiumAutoIt Version: v3.2.8.1There appears to be a bug when specifying the /icon switch in Aut2Exe. It doesn't blow up or anything; it just doesn't appear to use the specified ICO file. An example command line used that exemplifies this is as follows:C:\Users\Matt\AppData\Local\Temp\ExeWrap277\Aut2Exe\Aut2Exe.exe /in "C:\Users\Matt\AppData\Local\Temp\ExeWrap277\Dashboard.au3" /out "DynamicDashboard.exe" /icon "C:\Users\Matt\Desktop\NetworkIcons\28.ico" /comp 4 /nodecompileAfter executing the above command line the executable is created successfully but it still uses the AutoIt icon. Am I doing something wrong or is this a bug???Thanks,Matt @ MPCS (Paxus LLC) Edited September 13, 2007 by Matt @ MPCS
Zedna Posted September 13, 2007 Posted September 13, 2007 Only side note: I'm using directive #AutoIt3Wrapper_Icon=my_icon.ico at begin of my scripts so I needn't handle icons at compile time, just hit F7 in Scite and AutoIt3Wrapper will do job for me Resources UDF ResourcesEx UDF AutoIt Forum Search
Matt @ MPCS Posted September 13, 2007 Author Posted September 13, 2007 Thanks Zedna! I could do that and it would simplify my compilation process. Thanks again, Matt @ MPCS (Paxus LLC)
Matt @ MPCS Posted September 13, 2007 Author Posted September 13, 2007 Still no avail... It may be because I am not running it through the Autoit3Wrapper but in either case the Aut2Exe command line should still work. Any more suggestions???
Developers Jos Posted September 13, 2007 Developers Posted September 13, 2007 AutoIt3Wrapper is using this similar commandline so should work when its a corect filename and filetype ... 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.
Matt @ MPCS Posted September 13, 2007 Author Posted September 13, 2007 The command line I identified above is generated by the AutoIt code generator ExeWrap that I posted a few years ago in which I verify existence of the icon file. I know it should work but for some reason it doesn't.
Matt @ MPCS Posted September 13, 2007 Author Posted September 13, 2007 It appears this is just a strange Windows bug. I am not quite sure what the coincidence is that it happens yet but when I the executable is configured to be generated in a different directory (such as c:\) it seems to work without a hitch. I'll do some more testing to verify my findings but for now this appears to be resolved. Matt @ MPCS (Paxus LLC)
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