aa2zz6 Posted July 16, 2018 Share Posted July 16, 2018 Why does the custom compiled ico icon disappear when the application is moved to another PC? I would like to disperse my application with our logo to multiple PC's at work. #AutoIt3Wrapper_Icon=ICO NEO_LOGO.ico Link to comment Share on other sites More sharing options...
Earthshine Posted July 16, 2018 Share Posted July 16, 2018 weird. i ship little compiled helpers with my installers and the ICO always shows up, even under testing on all different os vms My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 16, 2018 Share Posted July 16, 2018 (edited) Edit. Correct answer here. Edited July 16, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Earthshine Posted July 16, 2018 Share Posted July 16, 2018 not in my experience. My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 16, 2018 Share Posted July 16, 2018 (edited) Edit. Correct answer here. Edited July 16, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Earthshine Posted July 16, 2018 Share Posted July 16, 2018 (edited) nope. just tested it on a clean vm with just exe. you need use the Compile in the Tools menu, go select the icon you need and it embeds it. if you compile from explorer context menu or otherwise, it probably won't embed the resource. go test it. Edited July 16, 2018 by Earthshine FrancescoDiMuro and Skeletor 2 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Skeletor Posted July 16, 2018 Share Posted July 16, 2018 I've always had no issues with my icons. They reside in any folder and I have been able to port my programs onto any machine with any OS. #AutoIt3Wrapper_Icon=..\..\Windows\Installer\{6E3610B2-430D-4EB0-81E3-2B57E8B9DE8D}\Bonjour.ico Your code looks wrong though: #AutoIt3Wrapper_Icon=ICO NEO_LOGO.ico Why not use the compiler to do this. Tools > Compile Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI Link to comment Share on other sites More sharing options...
Earthshine Posted July 16, 2018 Share Posted July 16, 2018 (edited) nice avatar Skeletor, I mean, Blanka is cool, but that fits your name Edited July 16, 2018 by Earthshine FrancescoDiMuro 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
careca Posted July 16, 2018 Share Posted July 16, 2018 Isn't it possible that the space messes things up? Maybe this #AutoIt3Wrapper_Icon="ICO NEO_LOGO.ico" Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Developers Jos Posted July 16, 2018 Developers Share Posted July 16, 2018 (edited) Ok, lets see what I have read here: The OP says the ICO is correct on his/her own pc by doesn't work on another PC... Right? In case of doubt just check by opening the compiled script with reshacker to check the attached ICO file. In case the wrong ICO file is specified, not existing, a warning should be shown during compilation, so double check that too. Jos Edited July 16, 2018 by 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. Link to comment Share on other sites More sharing options...
aa2zz6 Posted July 17, 2018 Author Share Posted July 17, 2018 Thanks for the replies. When I restarted the tablets for the field operators the ICO icon appeared. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 17, 2018 Developers Share Posted July 17, 2018 So you had the same program on there before with another ICO and needed to refresh the cache...right? Jos aa2zz6 1 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...
aa2zz6 Posted July 17, 2018 Author Share Posted July 17, 2018 Yes, that's correct, we had another ICO. I guess when in doubt shutdown and startup the tablets. Lol Application compiled with a new ICO (Personal PC) Application copied to the tablets. (Required us to reboot the windows 10 tablets to register the new icon) Link to comment Share on other sites More sharing options...
Earthshine Posted July 17, 2018 Share Posted July 17, 2018 (edited) this in a batch file fixes that problem. no reboot necessary on a pc anyway. just need to rebuild the icon cache taskkill /f /im explorer.exe cd /d %userprofile%\AppData\Local del IconCache.db /a start explorer.exe this happens on almost every ms os, you install updates, icons don't show until reboot, or you do the above in a bat or on an admin cmdline i see the cache problem all the time in testing Edited July 17, 2018 by Earthshine aa2zz6 and Decibel 2 My resources are limited. You must ask the right questions 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