cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TerryConners
Level 2

Uninstall product A before installing product B

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.
Labels (1)
0 Kudos
(4) Replies
rguggisberg
Level 13

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.
0 Kudos
Jenifer
Flexera Alumni

TerryConners wrote:
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
0 Kudos
Dan_Galender
Level 10

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.
0 Kudos
cassen
Level 2

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
0 Kudos