I have made setup project with Visual Studio Installer. Project creates uninstall shortcut into User's programs menu. Setup works fine and uninstall shortcut uninstalls application.
Shortcut points to msiexec.exe with arguments /x [ProductCode]
.
So everything worked fine until I made application upgrading project. Upgrading project was made by the rules: different productcode, same upgradecode, higher version.
Upgrading application is succesfull. Problem is, that the uninstall shortcut does not work anymore. Clicking shortcut only gives error: "Component not used on this computer"
These reasons are excluded:
- New uninstall shorcut is created and old removed during uppgrading setup.
- Msiexec is not removed during uppgrading setup
- Upgrading project uses different productcode, same upgradecode, higher version.
Any help ?
UPDATE
Started from the beginning and created both projects again from the "clear desk". Problem still exists.