I’m new to AI so please don’t give me too much of a hard time if I’m way wrong here
![{L_SMILIES_VERY_HAPPY} :D](./images/smilies/icon_e_biggrin.gif)
I would like to have AI automatically remove the previous instance of my application, regardless of its version.
(By simply detect the product id and run msiexec to remove it)
This would avoid having to see the ”Please remove the application from the control panel” dialog, which isn’t very user friendly.
It also lets the user up- and downgrade any application, as long as the product id stays intact.
Edit: One could obviously argue that it would make it hard to invoke the maintenance dialog (modify/repair/remove) if the application is automatically removed.
But another vendor has solved this by using an Instance id, along with the Product id.
The Instance id is regenerated each time the installer is compiled and the installer maintenance dialog is only invoked when both Product and Instance id are the same.
So when the Product id is the same and not the Instance id, the previous version of the application is removed as a first step when running the installer.
Best regards
Nullable