Jul 10, 2013
06:57 AM
Thanks for replying. I tried to target an exe file instead of an ico file, it didn't work. I tried to run a script to refresh the icon cash, it didn't work ether. The script set iconcache=%localappdata%\IconCache.db echo The Explorer process must be killed to delete the Icon DB. echo Please SAVE ALL OPEN WORK before continuing. pause If exist "%iconcache%" goto delID echo Icon DB has already been deleted. pause exit /B :delID echo Attempting to delete Icon DB... ie4uinit.exe -ClearIconCache taskkill /IM explorer.exe /F del "%iconcache%" /A echo Icon DB has been successfully deleted. Please "restart your PC" now to rebuild your icon cache. start explorer.exe pause exit /B I also tried changing the icon file and combine all three different case, but, no luck. So, still no answer. 😞
... View more
Jul 09, 2013
10:52 AM
Hi all, I hope someone can help me. i m using the following code: version 1: AddFolderIcon( FOLDER_DESKTOP, sShortcutText, "\"" + INSTALLDIR ^ "myapplication.exe\"", INSTALLDIR, INSTALLDIR ^ "shortcut.ico", 0, "", NULL); After installation the icon is the exe file icon and not the (INSTALLDIR ^ "shortcut.ico"). if you right click, go to properties and click "Change Icon..." you get an error: "%ProgramFiles%\MyAppPath\shortcut.ico does not exist." but the icon exist in "%ProgramFiles% (x86)\MyAppPath\shortcut.ico". version 2 (put the fullpathname of the icon in quotes) : AddFolderIcon( FOLDER_DESKTOP, sShortcutText, "\"" + INSTALLDIR ^ "myapplication.exe\"", INSTALLDIR, "\"" + INSTALLDIR ^ "shortcut.ico\"", 0, "", NULL); The icon is blank until you go to properties and click "Change Icon...", you do not have to do anything more because the path is the right one: "%ProgramFiles% (x86)\MyAppPath\shortcut.ico". BUT, you still have to go to properties and click "Change Icon...". 😞 Now Flexera help says, for the icon's full path: "Do not call LongPathToQuote to enclose this file name in quotation marks. InstallShield automatically encloses these paths in quotation marks." If you do not put quotes is passing the wrong path, but even if you put the icon stays blank even after restart of the computer. Can somebody help here, PLEASE? Thank you Alex
... View more
Labels
- Labels:
-
InstallShield 2012
Latest posts by wsil01
Subject | Views | Posted |
---|---|---|
898 | Jul 10, 2013 06:57 AM | |
2594 | Jul 09, 2013 10:52 AM |
Activity Feed
- Posted Re: Manually Create Shortcut on Desktop for 64 bit OS Can't find it on InstallShield Forum. Jul 10, 2013 06:57 AM
- Posted Manually Create Shortcut on Desktop for 64 bit OS Can't find it on InstallShield Forum. Jul 09, 2013 10:52 AM