Script for setting up an Application Pool in IIS

Post specialized setup scripts you have created here.
isf
Posts: 9
Joined: Tue Jul 04, 2006 4:40 pm

Post by isf »

Sorry for bothering again. Do you think you can have this plugin ready this week or is there any other way to do the application creation for a virtual folder?

Regards,
paulo
andrejzr
Posts: 68
Joined: Sun Jun 25, 2006 9:17 am

Post by andrejzr »

HI,

Setting the ASP.NET version for the virtual directory can be done also by calling the Run Program command. Use parameters:

Run Program:
$WINDIR$\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis.exe

Command Line Parameters:
-s W3SVC/1/ROOT/WEBDIRNAME


Change the WEBDIRNAME to you virtual folder name.

This works fine with my installer - it is changing from the default ASP.NET 1.1 to 2.0


Hope this helps.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This is also available as a direct option in the new ASP.NET tab of the Create Virtual Folder command window, starting with InstallAware 6.01.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
liambrennan
Posts: 3
Joined: Thu Aug 21, 2008 7:52 pm

Post by liambrennan »

Hi,

Has there been any update in regards to setting a virtual directory to an application pool? I am aware that I can specify an application pool in the virtual directory properties but what i would like to do is to present the user with a list of current application pools and give them the option of selecting one, is this functionality available?

Thanks,
Liam.
kamau
Posts: 5
Joined: Thu Sep 24, 2015 2:40 am

Re: Script for setting up an Application Pool in IIS

Post by kamau »

It's 2016, 10 years later, can't see a way to set the user for an app pool, or even configure any app pool settings. Is this possible in X4?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Script for setting up an Application Pool in IIS

Post by FrancescoT »

All App Pool settings can be issued via "appcmd.exe" and this can be easily done via IA script.
Have a look at the Microsoft documentation for more details.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply