johngraumann
Posts: 11
Joined: Fri Jan 04, 2008 12:14 am

Choosing IIS Application Pool during install

Hello,

We are currently using Advanced Installer 6.3.1 to deploy an application that includes a couple of web applications. I noticed that the new version (7.2) allows you to choose which application pool a web site is assigned to at design time. However, what we really need is the ability to allow the user to see a list of application pools under the desired web site, and allow them to choose which one to install to during setup. Ideally, we would even like them to have the option of creating a new one (with a name that they type in).

Is this possible?

Thanks,
John Graumann
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Choosing IIS Application Pool during install

Hello,
what we really need is the ability to allow the user to see a list of application pools under the desired web site
Unfortunately this behavior is not yet supported by Advanced Installer. However our developers have looked into it, and such a feature will be available in a future release. For now, you can use a vbscript to retrieve the list. Your vbscript can call the appcmd utility, then parse the output to retrieve the Application Pools. The usage of appcmd for this purpose is explained by microsoft in the View a List of Application Pools article.
Ideally, we would even like them to have the option of creating a new one (with a name that they type in).
When creating an Application Pool from within Advanced Installer, you have the option of setting a property as the name for the pool. A user can then set that property during the install, thus effectively creating an Application Pool with a given name. The property can also be used on Application Pool Tab in the "Use existing pool when installing" field to make use of the newly created Application Pool.

Note that you can also set install conditions on an Application Pool, thus controlling whether it gets created or not.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”