/build/static/layout/Breadcrumb_cap_w.png

Problem with MSI Upgrade?

I got an exe and in the install instructions it is mentioned to uninstall the previous versions. Installers of previous versions are provided.

If you try to install the new exe where old one is already there it shows that this upgrades the older one and do you want to continue.

But, when I install the msi which I've extracted from the latest version Exe it shows that another version of the same product is already there and installation cannot continue. Please uninstall them from add or remove programs.

 

I extracted the msi's from the old 2 exe and found that product code and upgrade code is same for them.

I added in the upgrade table version min =null and version max=the version of the previous application attributes =2

 

Please help me how to uninstall the old 2 versions and install new version.

Thanks in advance


0 Comments   [ + ] Show comments

Answers (1)

Posted by: jagadeish 11 years ago
Red Belt
1

Try with this in Upgrade Table

UpgradeCode - UpgradeCode of Previous Version

VersionMin - NULL

VersionMax - ProductVersion of Current MSI

Language - ProductLanguage of Previous Version

Attributes - 512

REMOVE - NULL

ActionProperty - Unique Public Property.. (This will be added to SecureCustomProperties in Property table)

Keep RemoveExistingProducts standard action in between the InstallValidate and InstallInitialise actions in Execute Immidate

 
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