/build/static/layout/Breadcrumb_cap_w.png

trouble having MSI uninstall old version before running

First I wanted to thank everyone on here for all the packaging skills I have learned from you all. with out this site I would've have never learned how to properly create custom MSI's.

Ok here is my problem. we have a custom in house app that I packaged into an MSI using Wise Studio. Old MSI runs great. Problem is that now we have a new version to deploy that requires the uninstallation of the old version before the new one is install. To accomplish this I add the upgrade GUID for the old version to the upgrade table in the new MSI. when I run the new MSI it runs the Install first of the new files and then runs the uninstall of the old version. this results in all files that are the same between the versions to be deleted. Is there a way to ensure the the uninstall of the old version happens first?

thanks,

Jeff

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AngelD 15 years ago
Red Belt
0
Sequence the RemoveExistingProducts action between the InstallValidate and InstallInitialize action.
http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx
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