This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Add/Remove Programs icon resized incorrectly
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2013
04:42 AM
Add/Remove Programs icon resized incorrectly
Hello,
I use InstallShield LE with Visual Studio 2012. I have selected an add/remove programs icon file (.ico) for my app installer, which contains a broad range of sizes including 256x256, 128x128, 64x64, 32x32, 48x48 and 16x16. However, after installation when I view my application in the programs list, it appears with a downsampled 16x16 icon instead of using the original (and much better looking) 16x16 embedded version.
Is there anything I can do to fix this problem?
Regards,
Chris.
I use InstallShield LE with Visual Studio 2012. I have selected an add/remove programs icon file (.ico) for my app installer, which contains a broad range of sizes including 256x256, 128x128, 64x64, 32x32, 48x48 and 16x16. However, after installation when I view my application in the programs list, it appears with a downsampled 16x16 icon instead of using the original (and much better looking) 16x16 embedded version.
Is there anything I can do to fix this problem?
Regards,
Chris.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2013
07:44 AM
In my experience this is probably an OS issue although there may be changes that you can implement in your setup to mitigate the issue. Look at the following for general information on the topic and I am sure you can find many other posts along this line.
http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html
http://windowsxp.mvps.org/appicons.htm
The approach I would take to isolating this issue is:
1) Install your application (and observe the issue)
2) Reset the Icon Cache and determine if this helps. If it does integrate that into the setup.
3) Under your ProductCode under the Uninstall key, do you have a DisplayIcon entry. If not create in manually in the registry and experiment with the incon index value to get the behavior that you want. Then integrate that back into your setup.
I hope this helps.
http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html
http://windowsxp.mvps.org/appicons.htm
The approach I would take to isolating this issue is:
1) Install your application (and observe the issue)
2) Reset the Icon Cache and determine if this helps. If it does integrate that into the setup.
3) Under your ProductCode under the Uninstall key, do you have a DisplayIcon entry. If not create in manually in the registry and experiment with the incon index value to get the behavior that you want. Then integrate that back into your setup.
I hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2013
04:36 PM
Thanks phill_mn,
The problem appears to have been fixed by using an icon file with 8-bit icons instead of 32-bit. I can only assume this is some internal Windows 7 restriction that I haven't previously seen documented. A few extra points:
1. Resetting the icon cache didn't help.
2. The DisplayIcon registry entry was not set, and is still not set, yet it works.
3. The application icon, and the one embedded in the .exe file is still 32-bit.
I am happy that the icon now appears correctly, but I'm wondering now where the Add/Remove Programs dialog is getting the icon from? It's not (apparently) in the executable, and there's no DisplayIcon path that indicates its location. The icon file itself is not in the application's Program Files directory. Magic?
Cheers,
Chris.
The problem appears to have been fixed by using an icon file with 8-bit icons instead of 32-bit. I can only assume this is some internal Windows 7 restriction that I haven't previously seen documented. A few extra points:
1. Resetting the icon cache didn't help.
2. The DisplayIcon registry entry was not set, and is still not set, yet it works.
3. The application icon, and the one embedded in the .exe file is still 32-bit.
I am happy that the icon now appears correctly, but I'm wondering now where the Add/Remove Programs dialog is getting the icon from? It's not (apparently) in the executable, and there's no DisplayIcon path that indicates its location. The icon file itself is not in the application's Program Files directory. Magic?
Cheers,
Chris.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)