I try to perform a major upgrade with my MSI installer with a quiet installation. The installer already works well when using a normal installation with a full user interface. In this case the old product is uninstalled because FindRelatedProducts action (from the UI sequence in FolderForm) detects my previously installed version.
When the /qr switch for msiexec is used to suppress the dialogs and need for user interaction (essentially reusing the settings from the last version), then it fails:
MSI (s) : Doing action: FindRelatedProducts
Action FindRelatedProducts. Searching for related applications
Action start FindRelatedProducts.
MSI (s) : Skipping FindRelatedProducts action: already done on client side
Action ended FindRelatedProducts. Return value 0.
As a result, there are two entries that show up in the the installed software dialog of Windows - one for the old and new version, so in that case the old version was not uninstalled/removed.
Is there any other msiexec command switch that I could use that would still execute the FindRelatedProducts action? Could it be integrated elsewhere so that it would be executed in such a quiet installation?
Thank you for your support! Marco