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

Postby isf » Tue Jul 11, 2006 4:20 pm

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

Postby andrejzr » Wed Jul 26, 2006 6:41 am

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:

Postby MichaelNesmith » Wed Jul 26, 2006 7:36 am

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

liambrennan
Posts: 3
Joined: Thu Aug 21, 2008 7:52 pm

Postby liambrennan » Thu Aug 21, 2008 8:13 pm

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

Postby kamau » Tue May 10, 2016 3:57 am

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: 4849
Joined: Sun Aug 22, 2010 4:28 am

Re: Script for setting up an Application Pool in IIS

Postby FrancescoT » Wed May 11, 2016 1:08 pm

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 Support

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


Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest