Two rules will be displayed in the "Upgrades" section. Go to the "Upgrades" page and select "Customize Advanced Installer upgrade rules". The default Windows Installer behavior when you try to install an older version of an installed package is to prompt the user and to interrupt the installation.ġ. Your scenario could be implemented using major upgrades Windows Installer feature : Windows Installer UpgradesĪlso, for enabling the downgrades you have to implement custom upgrade rules. regarding this subject: Why do I receive the "Another version of this product is already installed" message? This dialog can only occur on development machines.You needn't consider preventing it on clients machines. Have you received the error message from the attached screensot? 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. 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. It also lets the user up- and downgrade any application, as long as the product id stays intact.Įdit: One could obviously argue that it would make it hard to invoke the maintenance dialog (modify/repair/remove) if the application is automatically removed.īut another vendor has solved this by using an Instance id, along with the Product id. This would avoid having to see the ”Please remove the application from the control panel” dialog, which isn’t very user friendly. (By simply detect the product id and run msiexec to remove it) I would like to have AI automatically remove the previous instance of my application, regardless of its version. I’m new to AI so please don’t give me too much of a hard time if I’m way wrong here
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |