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!

mumbles76
Posts: 29
Joined: Mon Nov 16, 2015 7:29 pm

Installing a Web Application under an existing Web Site.

Hello All,

So we have multiple installers and different Web Applications for those installers. I have a new requirement that under the same named website, we can install two different Web Applications under the same website name.

However, the default behavior in AI is that if the website exists, you either overwrite or skip installation. I need it to just add the web application with no questions asked (If the website already exists from the first installation.)

How does one go about doing that?

TIA.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installing a Web Application under an existing Web Site.

Hello,

To achieve what you want you can set our "IISINSTALLPOLICYOVERWRITE" property to 1.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mumbles76
Posts: 29
Joined: Mon Nov 16, 2015 7:29 pm

Re: Installing a Web Application under an existing Web Site.

Hello Daniel, thank you for the quick response. I just want to verify, if i set this property - it won't prompt a user about overwriting or skipping, it'll simply use the existing website?

That's the functionality i need.
mumbles76
Posts: 29
Joined: Mon Nov 16, 2015 7:29 pm

Re: Installing a Web Application under an existing Web Site.

I just tested this out and all it does is overwrite the previous website and place all of its stuff in place of the original website. Including removing a web application under the existing website.

I think setting that property just stops the prompting of overwriting. It doesn't stop the actual overwrite.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installing a Web Application under an existing Web Site.

Hello,

Yes, the "IISINSTALLPOLICYOVERWRITE" property, when set, it silently overwrite the existing web site installation.

If you want just to silently skip the web site installation, then you should go to "IIS" page, select your web site item and in its "Basic Site Settings" tab set the "Action if duplicate" combo box to "Skip item installation" option.

If you have any question just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mumbles76
Posts: 29
Joined: Mon Nov 16, 2015 7:29 pm

Re: Installing a Web Application under an existing Web Site.

Ah ok, so i could skip the website install, but still install the web application.

So simple, i missed it. =) Thx.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installing a Web Application under an existing Web Site.

You're always welcome.

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

Return to “Building Installers”