Kickassjoe Posted August 16, 2009 Posted August 16, 2009 When I use the compile script to .exe file, the icon doesn't want to change from the default autoit icon, to the icon I browse for in the compilation program. Does anyone know what I have to do to get this to work? http://www.dknightstudios.org/LS/icon.ico <-- set of 5 icons, 16x16 - 64x64 http://www.dknightstudios.org/LS/icon2.ico <-- just a regular 64x64 icon What goes around comes around... Payback's a bitch.
Yashied Posted August 16, 2009 Posted August 16, 2009 (edited) And how you are trying to do it? Edited August 16, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Kickassjoe Posted August 16, 2009 Author Posted August 16, 2009 (edited) And how you are trying to do it?When I use the compile script to .exe fileThat would be the Aut2exe.exe file in the Autoit/Aut2Exe directory. >_<Browsing for the .au3 file, the .exe path, and the .ico file, so I'm sure they aren't wrong.Edit: Ah, got it working, I guess I just couldn't name it the .exe the same as the .au3 was named (LSToolbox.au3, and LSToolbox.exe didn't work, changed it to asdf.exe, and all is good) Edited August 16, 2009 by Kickassjoe What goes around comes around... Payback's a bitch.
Yashied Posted August 16, 2009 Posted August 16, 2009 If you try to set the icon by using Aut2exe (selecting in the program), then everything should work. If the icon is set by using #AutoIt3Wrapper_Icon =..., it not for this program, use AutoIt3Wrapper. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
GEOSoft Posted August 16, 2009 Posted August 16, 2009 You don't have to enter the name of the output file. If you leave that blak then it defaults to the same as the input file but with the exe extension, which is what you were attempting to do. And by the way, I've often seen it where the icon didn't change until the folder was refreshed. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Kickassjoe Posted August 16, 2009 Author Posted August 16, 2009 You don't have to enter the name of the output file. If you leave that blak then it defaults to the same as the input file but with the exe extension, which is what you were attempting to do. And by the way, I've often seen it where the icon didn't change until the folder was refreshed.Well, I had to manually change the file name to something other than what the .au3 was named, for the icon to change to the icon file that I used. Could that be a bug? What goes around comes around... Payback's a bitch.
GEOSoft Posted August 16, 2009 Posted August 16, 2009 I don't get the problem and you are the first person to mention it so I would say no. I suspect that you first compiled it without a specified icon which would give you the default. Then you recompiled and specified the icon and it just didn't refresh the old one. Your compiled EXE would probably have still been using the new one when checked on a different system or if you had refeshed by almost any method. Sometimes just F5 will do it, at other times I've had to restart or rebuild the icon cache. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
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