views:

1082

answers:

5

What install tool can I use to create Virtual Directory on IIS? OpenSource, free or to do in C#.

+1  A: 

WiX can create IIS virtual directories.

Ferruccio
A: 

You could use Microsoft Web Deployment Tool to recreate a website structure.

fordan
+2  A: 

You can create IIS virtual directorys using NAnt and the MKIISdir task in the NAntContrib project

Xian
NAnt is a build tool, not an install tool.
Ferruccio
Actually NAnt can be much more than a build tool, but in this instance I believe you are correct, as Mariano is probably seeking an installer for a windows executable.
Xian
+1  A: 

You can use the VS.NET Web Setup Project included into visual studio.

Check this article for a list of deployment possiblities for your web app :

sacha
I have used Web Setup Projects and they work very nicely. Both the virtual directory and the application are automatically created and you can control a lot of the default settings for the virtual directory. The actual installation process is very simple as well.
J c
A: 

you can call a small VBScript from any installer via command line, and access the IIS object.

Set objMimeMap = GetObject("IIS://localhost/w3svc")

Tom