/build/static/layout/Breadcrumb_cap_w.png

Upgrading to a new version...

Greetings all!

I'm using Wise Package Studio 4.51 and I'm trying to get my MSI to first uninstall a previous version of software before putting down the new version.

The original software was put down on the system via MSI, and my new installation does seem to successfully get the product code from the old MSI... I'm doing this in the Upgrades dialog under the Distribution section.

But when I install the new MSI, it doesn't seem to search for nor uninstall the previous version...

Any ideas?

Am I missing a step?

Any help here would be greatly appreciated...

Respectfully,

- Sean Roberts

0 Comments   [ + ] Show comments

Answers (2)

Posted by: WiseMonkey3 19 years ago
Senior Yellow Belt
0
Hi Sean,
Here are a few things I do with MSI upgrading.
If you are using AD to deploy the old & New apps you can manually add the old package to the upgrades tab and select "Required upgrade"in the GPO settings of the new app.

I like to increment the version number by at least .1, ie; if your old version is 2.0 increment the new version to 2.1 or even 3.0. This will automatically detect the older version (when using AD) and it will be displayed in the upgrades tab, you still need to select the "Required Upgrade".

By default wise places the "RemoveExistingProducts" after the InstallFinalize" under the MSI Script "Execute Immediate" tab.
I often move the "RemoveExistingProducts" up and place it in between the "InstallValidate" and "InstallInitialize". This will force the old app to be uninstalled before the new one.
For an explaination select the "RemoveExistingProducts" and press F1.[:D] it will tell you where and why you place this sequence.

If this doesn't work you could try a execute immediate custom action like "Install MSI From Destination" put in the product code and a /x. I've used custom actions to uninstall .exe's before but I haven't tried the MSI actions.

Good luck [;)]
Posted by: sean_c_roberts 19 years ago
Senior Purple Belt
0
Thanks, Monk(ey)! :)

We deploy using SMS (not AD GPO).

The problem turned out to be that, while I had valid entries in the Min and Max version ranges, I didn't check the Include Max Range... checkbox, and so Wise was not searching the system for a prior app at all.

Simply checking BOTH the Min and Max checkboxes seems to have forced my new MSI to search for and uninstall the old MSI.

Thanks for your help!

Regards,

- Sean Roberts
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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