Sanjay Sharma said:
Currently Remove button is disabled but the end users want it to be enabled.
And changing the registry entry for the Uninstall string doesnt help in any
way.
If the WindowsInstaller value in the program's Uninstall key is 1, the
Add/Remove Programs applet ignores the UninstallString value and always does
the equivalent of an 'msiexec /x{productcode}.' A trick I've used (stolen
from InstallShield) is to create a "manual" entry in the Uninstall key. Set
ARPSYSTEMCOMPONENT to 1 to have the RegisterProduct standard action create
an Uninstall key with a SystemComponent value of 1 -- that hides the entry
in Add/Remove Programs. Then I use the Registry table to create another
Uninstall key. In this key, manually specify the values that MSI usually
creates, but omit the WindowsInstaller value. Then you can make
UninstallString 'msiexec /i{productcode}' or whatever you want.