xwinterx Posted April 3, 2006 Share Posted April 3, 2006 I have the latest AutoIt 3 beta and when I try to beta compile, I get an error regarding the icon. Says either it cannot be found or is the incorrect format. Anyone help me with this? Link to comment Share on other sites More sharing options...
nfwu Posted April 3, 2006 Share Posted April 3, 2006 (edited) Sure, make sure that it is a VALID ico file, not just a renamed bmp file.#)EDIT: If you are asking how, look here: http://www.autoitscript.com/forum/index.ph...ndpost&p=160636 Edited April 3, 2006 by nfwu TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 I am using the same .ico file that I use to regularly compile a script. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 3, 2006 Moderators Share Posted April 3, 2006 How are you compiling it? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 How are you compiling it?I am using Tools -> Beta CompileI have also tried right-clicking and selecting Beta Compile as well. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 (edited) You have probably selected an alternate Icon before which doesn't exists anymore. Aut2Exe will always use the last used icon as default Icon for compiles Run this script to reset the registry: $icon = RegRead("HKCU\Software\AutoIt v3\Aut2Exe","lastIcon") $icondir = RegRead("HKCU\Software\AutoIt v3\Aut2Exe","lastIcondir") If Not FileExists($icondir & "\" & $icon) Then ConsoleWrite('! Last used ICON not found: ' & $icondir & "\" & $icon & ', resetting registry entry.' & @lf) RegWrite("HKCU\Software\AutoIt v3\Aut2Exe","lastIcon","REG_SZ","") EndIf If Not FileExists($icondir) Then ConsoleWrite('! Last used ICON directory not found: ' & $icondir & ', resetting registry entry.' & @lf) RegWrite("HKCU\Software\AutoIt v3\Aut2Exe","lastIconDir","REG_SZ","") EndIf Edited April 3, 2006 by JdeB 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 Thanks... still no go... will try a couple of things. Thanks for all the help so far! Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 Thanks... still no go... will try a couple of things. Thanks for all the help so far! You are getting a MSGBOX from aut2exe ...right ?If so try running aut2exe manually and click for the ICON on the Default button... 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 You are getting a MSGBOX from aut2exe ...right ?If so try running aut2exe manually and click for the ICON on the Default button...I have... it still gives me an error... and this is on multiple computers too. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 (edited) I have... it still gives me an error... and this is on multiple computers too. So you:- started AUT2EXE.- Selected a script to convert- clicked on Default for the ICON - clicked Convert button and then you get this error ? Edited April 3, 2006 by JdeB 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 So you:- started AUT2EXE.- Selected a script to convert- clicked on Default for the ICON - clicked Convert button and then you get this error ?okies... here is what I did....- started AUT2EXE (in the beta folder)- Selected my script- Selected/Saved my Destination- Clicked on the Default button for the icon- Clicked on Convert...... now....Error: Unable to execute upx.exe to compress stub file.I am running the latest beta... I ran the Toggle AU3 Beta script to switch over to the beta (I got the pop-up message telling me I am running the latest beta)... and now I am stuck. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 (edited) okies... here is what I did....- started AUT2EXE (in the beta folder)- Selected my script- Selected/Saved my Destination- Clicked on the Default button for the icon- Clicked on Convert...... now....Error: Unable to execute upx.exe to compress stub file.I am running the latest beta... I ran the Toggle AU3 Beta script to switch over to the beta (I got the pop-up message telling me I am running the latest beta)... and now I am stuck.Which directory are you running the aut2exe from ? need to do this from AutoIt3\Beta\aut2exeI never use the Toggle Beta script because you can select which version use from within SciTE ... Edited April 3, 2006 by JdeB 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 Which directory are you running the aut2exe from ? need to do this from AutoIt3\Beta\aut2exeI never use the Toggle Beta script because you can select which version use from within SciTE ...yeah... just found how to do it in SciTE... also... yes... I am running it from AutoIt3\Beta\AUT2EXE Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 (edited) Do you have these 3 files in the AutoIt3\Beta\AUT2EXE directory?: AUT2EXE.exe upx.exe AutoitSC.bin Edited April 3, 2006 by JdeB 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 (edited) Do you have these 3 files in the AutoIt3\Beta\AUT2EXE directory?:AUT2EXE.exeupx.exeAutoitSC.binyes... it is all there... I ran a windows update, a SciTE update, removed all AutoIt 3 stuff and re-installed, ran some registry tools.... just wierd. Edited April 3, 2006 by xwinterx Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 yes... should I just remove all my SciTE and AutoIT3 stuff then reinstall just the beta? I dunno.No need to remove SciTE.Can you (re)install the latest AutoIt3 Beta version and try to run aut2exe from the Beta directory again to see what it says ? 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 No need to remove SciTE.Can you (re)install the latest AutoIt3 Beta version and try to run aut2exe from the Beta directory again to see what it says ?Yeah... I did that on both computers... and still get the error regarding UPX.EXE and the stub file. It appears that for whatever reason, the Icon issue has been resolved, but now it can't get past the UPX thing. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 Yeah... I did that on both computers... and still get the error regarding UPX.EXE and the stub file. It appears that for whatever reason, the Icon issue has been resolved, but now it can't get past the UPX thing.I can only get this error when i rename upx.exe to something else.These are the file specs in my directory ... are yours the same?03/26/2006 10:17 AM 101,888 Aut2exe.exe03/31/2006 03:04 PM 396,288 AutoitSC.bin06/30/2004 12:13 AM 126,464 upx.exe 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...
xwinterx Posted April 3, 2006 Author Share Posted April 3, 2006 I can only get this error when i rename upx.exe to something else.These are the file specs in my directory ... are yours the same?03/26/2006 10:17 AM 101,888 Aut2exe.exe03/31/2006 03:04 PM 396,288 AutoitSC.bin06/30/2004 12:13 AM 126,464 upx.exeMarch 26, 2006, 1:17:28 AM aut2exe.exe 101,888 bytesMarch 31, 2006, 6:04:06 AM autoitsc.bin 396,288 bytesJune 29, 2004, 3:13:24 PM upx.exe 126,464 bytesmy times are off, but the sizes are the same. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2006 Developers Share Posted April 3, 2006 March 26, 2006, 1:17:28 AM aut2exe.exe 101,888 bytesMarch 31, 2006, 6:04:06 AM autoitsc.bin 396,288 bytesJune 29, 2004, 3:13:24 PM upx.exe 126,464 bytesmy times are off, but the sizes are the same.Just did some more testing and also am able to get the error when i don't have all the security rights on target directory... When Modify is missing this error will also pop up...... 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