/build/static/layout/Breadcrumb_cap_w.png

MSI - wait for uninstall to finish before continuing install

I have a new version of a program, which will remove previous versions... I use Wise Package Studio 7 Pro to manipulate the installation.

How can I tell the new.MSI to wait for the uninstall to finish? When I now installs the program it doesnt wait.

It is 2 programs that have to be uninstalled, but it seems like the install.msi want to continue to install after one of them has uninstalled.. And therefore fails.

Is there a parameter in the MSI-file to tell it to "wait until both programs have finished uninstalling"?

Knut

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 10 years ago
Red Belt
0
If the previous versions were installed by MSI, you should be using the Upgrade table.

If your MSI is merely a wrapper for a bunch of executables (what I like to call "The Terminally Bone Idle" methodology) then you need to set the CA type to 'Synchronous'. See either the 'CustomAction' table page here or hit F1 when editing the CA in WPS's UI.
Posted by: polarman 10 years ago
Senior Yellow Belt
0
yes...the MSI-uninstall calls an exe-uninstall. I understand the "synchronous"-setting could fix this, but dont know how to do the settings in the customaction-table. Have to look into this more...
Posted by: anonymous_9363 10 years ago
Red Belt
0
If you have WPS, you don't need to edit the table directly. That's why I mentioned the UI (the 'MSI Script' view) and pressing F1. All the information you need is on the help page that appears.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ