Script for setting up an Application Pool in IIS

Post specialized setup scripts you have created here.
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?


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

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


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

Run Program:

Command Line Parameters:

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.

Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm

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
Home of The Next Generation MSI Installer
Get your free copy today -

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

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


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?


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?

Site Admin
Posts: 5211
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.

Francesco Toscano
InstallAware Software

White Papers (HowTos) - ... papers.htm
Publications -
InstallAware Help -F1 anywhere in the InstallAware IDE

Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 2 guests