Marko
Posts: 2
Joined: Wed Jun 19, 2013 6:27 pm

Advanced IIS and Site Settings

Hi there,
I am trying to configure the advanced installer 10.2 to perform the following actions on IIS8

Under a specific site(virtual directory), under advanced settings to set Preload Enabled to true
Under a specific IISPool, under advanced settings to set Start Mode to Always Running.

Currently i do not see any way to change this configuration from the default settings in Advanced Installer, is there is any way to do this?
Thank you.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Advanced IIS and Site Settings

Hi Marko,

For the website we do not have this option available, when the package is installed the default assigned by IIS will be used.

For the application pool there is only one option to start it immediately after it was installed, in its main tab from IIS page. No other options related to its start mode are available.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Marko
Posts: 2
Joined: Wed Jun 19, 2013 6:27 pm

Re: Advanced IIS and Site Settings

If anyone else is looking for an answer to this question as this has huge implications in performance of the server side application

Set up a custom action and lunch the following application.
C:\Windows\System32\inetsrv\appcmd.exe set config /section:applicationPools -[name='nameOfService'].startMode:AlwaysRunning
C:\Windows\System32\inetsrv\appcmd.exe set app "websitename/vdirname" /serviceAutoStartEnabled:true
C:\Windows\System32\inetsrv\appcmd.exe set app "websitename/vdirname" /preloadEnabled:true
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Advanced IIS and Site Settings

Hello,

Thank you for sharing this with us. I'm sure this will help future users in the same situation.

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

Return to “Building Installers”