Backward Compatibility - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Anil Kumar A
Posts: 2
Joined: Sat Jan 16, 2010 9:58 am

Backward Compatibility

Hi Team,

I'm facing an issue with Backward compatibility for MSI. I have installed an MSI which was created with Advanced installer 6.5.2 version.
Later I have tried to install another MSI which is created with Advanced installer 7.2.1 version (without uninstalling the previous version).
The MSI which had installed later, doesn't un-install the previous MSI automatically. Therefore two MSIs got installed in my system.
How to fix this issue? I need to create an MSI in such a way that, if it founds any MSI in the sytem for the same application/same name it has
to un-install automatically the previous MSI and needs to install the current MSI.

Please do the needful.

Thanks in advance

Regards
Anil Kumar A
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Backward Compatibility

Hello,

You can consult our tutorial on managing an update to better understand how updates work.
However it is important that you follow at least our Simple and Professional Installation tutorials so you can better understand the inner workings of Advanced Installer and Windows Installer.

More to the point of discussion, the problem with your packages is that your new package has a different Upgrade Code than the previous one. Set the same Upgrade Code as the previous package by going to Project->Options->Project IDs in Advanced Installer. However make sure that the Product Codes are different.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Anil Kumar A
Posts: 2
Joined: Sat Jan 16, 2010 9:58 am

Re: Backward Compatibility

Hi,

I have fixed this issue by mentioning the Upgrade Code, Min Version and Max Version (of Previous version) in Ugrades Settings.
In my case the MSIs which were created by using Advanced Installer 6.5.2 has the same upgrade codes. So that the Latest MSI
which is created with Advanced Installer 7.2.1 does the uninstallation of previous MSI.

Thanks,
Anil Kumar A

Return to “Common Problems”