How to upgrade IIS Website ASP.NET app without deleting and re-creating it - Advanced Installer Community
emzero
Posts: 3
Joined: Tue Sep 15, 2015 8:01 pm

How to upgrade IIS Website ASP.NET app without deleting and re-creating it

I've this ASP.NET web application that is installed via Advanced Installer.
I have a custom dialog that asks for some input (hostname, port and some app settings) that's used to setup the IIS web site properly and the web.config app settings.

I want to provide an upgrade package that will only replace the ASP.NET app files (similar to a web deploy) without deleting the IIS website and re-asking the hostname and app settings.

The "automatically upgrade older versions" doesn't do what I want since it uninstalls the old and installs the new, having the need to re-input the hostname and settings.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to upgrade IIS Website ASP.NET app without deleting and re-creating it

Hello and welcome to our forums,

To achieve what you want you can create your installation package as a patch. Also, when creating patches you should make sure all the patch rules are fulfilled.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”