Hi All,
I am currently doing upgrades with a uninstall first. In this case the Unisntallstring from the registry ....\CurrentVersion\Uninsta\Product Name\UninstallString is called. In case an error encounters during upgrade I ignore it and continue with the installation. But this registry key somehow remains and the new uninstall string is not updated. Whenever the user wants to remove the program the old uninstall string from the previous product is still there. Therefore the error message is shown "This action is only valid for products currently installed".
I do not understand why the new installation does not replace this uninstall string. In addition I expect the registry key to be the following
<ROW Registry="Comments" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]" Name="Comments" Value="This installer database contains the logic and data required to install [ProductName]." Component_="AI_CustomARPName"/>
But instead the productcode is used insted of the product name. Not clear what is wrong with my AIP file.
Kind regards,
János
FOLLOW US
Get the latest news in Application Packaging