Last post May 20, 2009 06:42 PM by amisol
May 06, 2009 11:21 AM|amisol|LINK
I need to write an MSI package that will create and configure the settings of the Virtual Directory and Application Pool.
Things like worker process, VD version (1.1 or 2.0) etc...
Can it be done through the MSI custom actions using .NET code or some scripting is necessary? Also please provide me some code snippets if available.
May 08, 2009 05:14 AM|Thomas Sun – MSFT|LINK
We can create Custom Action of Web Setup project to modify IIS setting, such as ASP.NET version, Authentication, etc.
To change the ASP.NET version to 2.0, we can use aspnet_regiis.exe utility that ships with ASP.NET within the \Windows\Microsoft.net\framework\v2.0.5.0727\ to update IIS script-maps with ASP.NET 2.0 version.
To configurate IIS, we can use System.DirectoryServices APIs to query and modify IIS settings in Custom Action too.
For more information, see
I look forward to receiving your test results.
May 20, 2009 06:42 PM|amisol|LINK
It worked great, thanks!