PDA

View Full Version : Uninstall product A before installing product B



TerryConners
09-19-2018, 04:02 PM
I have an existing product "A" completely unrelated to product "B".
I need to uninstall "A" then install "B" all silently after the user invokes the install.
Would you use the upgrade feature or something else?
I have the MSI registry codes for both.

rguggisberg
09-20-2018, 08:48 AM
You didn't say what type of project you are using.
This is easily done with Events in a Suite project.
Use a Custom Action for Basic MSI or InstallScript MSI projects.

Jenifer
09-21-2018, 08:29 AM
I have an existing product "A" completely unrelated to product "B".
I need to uninstall "A" then install "B" all silently after the user invokes the install.
Would you use the upgrade feature or something else?
I have the MSI registry codes for both.

Hi

You can achieve it via custom action by

-mentioning uninstall command line of msi/exe you want to uninstall-https://stackoverflow.com/questions/36305662/how-to-uninstall-a-product-from-installshield
-One more way via custom action-https://community.flexerasoftware.com/showthread.php?115449-Uninstall-Other-Installshield-MSI

Hope it helps,
Thanks,
Jenifer

DanGalender
09-22-2018, 03:01 PM
If both installers are Basic MSI projects, just create a Major Upgrade item in the project for product "B" that specifies the UpgradeCode of product "A" with appropriate the product version.

cassen
09-28-2018, 02:22 AM
You didn't say what type of project you are using. Please tell this forum what exactly problem you're facing?

Regards -

live net tv for pc (https://livenettvapkz.com/live-nettv-for-pc/)