New to AI - continuous deployments - 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!

rr2011rm
Posts: 2
Joined: Mon Nov 14, 2011 11:59 am

New to AI - continuous deployments

Hello,

We are looking to use AI to deploy web applications in all stages, from deployment all the way to production. Some applications have already been deployed (IIS web farm), and some will be deployed for the first time with AI. In either case, we want to make sure that we don't have to uninstall old versions before applying the new ones. Is there a unified approach that will work with both scenarios?

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: New to AI - continuous deployments

Hi and welcome to our forums,

The automatic upgrade, i.e. uninstall old version and install new version, is handled by packages created with Advanced Installer. So if you install version 1.0.0 of your application and
then you run MSI for version 2.0.0, the second MSI will automatically remove the old one and continue installation.

Regarding the previous application, that were already installed, the upgrade scenario may differ. Can you please tell me how were the applications deployed, i.e. were there used MSI packages created with another tool or something custom, developed by you?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rr2011rm
Posts: 2
Joined: Mon Nov 14, 2011 11:59 am

Re: New to AI - continuous deployments

They were deployed via scripts or deployed manually.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: New to AI - continuous deployments

In this case you will need to add new scripts, as custom actions, in the package created with Advanced Installer. These scripts will check if the old version of the web site/application
is still installed and remove it in case it is found.

Here is an example of adding and EXE as custom action, similar you can add VBS script too:
http://www.advancedinstaller.com/user-g ... ml#custact

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”