Best Practice to upgrade existing version - Advanced Installer Community
jaypatel011
Posts: 4
Joined: Thu Dec 22, 2016 10:11 pm

Best Practice to upgrade existing version

We are using AI for our product and we are planning to release an update for our product. In our testing, we noticed that when we install this update using AI on the client machine, it uninstalled the previous version before it installed Update. now our product is Web applications in IIS. When it uninstall the application from IIS we are losing any customization done in IIS by the client. Is there a way to build update using AI such that it does not remove IIS settings (Notice, Previous version is already installed without considering this scenario). We also tried to build a patch instead of version update but we are getting attached error when we are trying to build patch.
Attachments
error.png
error.png (48.35 KiB) Viewed 1633 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Best Practice to upgrade existing version

Hi,

Please keep in mind that uninstalling the old version during the upgrade is the normal Windows Installer behavior. However, if you want to keep IIS settings during the upgrade, you can take a look on the "Reinstalling dropping IIS settings" thread which debates the same scenario.

The errors that you get when trying to build the patch appear because the patch rules are not respected (e.g. components GUIDs have been changed, files sequence has been changed, etc.).

Let me know if you have other questions.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”