Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
BUG: Icon Does Not Display Correctly in Add/Remove Programs Dialog Box
Article ID: 258558 - View products that this article applies to.
This article was previously published under Q258558
After a per-user installation of a Windows Installer product, the icon displayed in Add/Remove Programs is the default icon (a folder for Explorer.exe). This occurs despite the fact that the ARPPRODUCTICON property is set to the preferred icon in the Icon Table of the Microsoft Windows Installer (.msi) file.
The correct icon is displayed in Add/Remove Programs with a per-machine installation.
This is an Add/Remove Programs bug that affects the Windows Installer. Add/Remove Programs calls the Installer if it is an .msi application to obtain the value of the ARPPRODUCTICON property. Add/Remove Programs then handles the rest. If the application uses a per-user installation, Add/Remove Programs does not properly expand the environment variables in the string it receives.
To work around this bug, use a per-machine installation. A per-machine installation can be accomplished by setting the ALLUSERS property to 1.
Change the ALLUSERS property by running your package from a command line with the following syntax:
msiexec /i mypackage.msi ALLUSERS = 1
If you want to add this property within your package:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce BehaviorUse the steps that follow to reproduce the bug:
For information about how to set Windows Installer properties, see the Windows Installer SDK located at:
Article ID: 258558 - Last Review: October 2, 2003 - Revision: 2.0