Archive: Virtual folders in IIS


Virtual folders in IIS
I have to handle a large number of virtual folders in IIS (Internet Information Server). Has anyone seen/written something useful for adding, deleting and changing the definition of virtual folders in IIS?

Thanks,
/bph


According to all of the reading I have done so far you must use either ADSI or WMI interfaces. Both must be used either from a script or through a C++ interface. I think the easiest way would be executing a script using ExecShell or writing a NSIS plug-in. See Contrib\ExDll for a plug-in skeleton and Contrib\InstallOptions for a C++ example plug-in.


Yes, I'm afraid you are right. I used to think it was possible to define the virtual maps in the registry, but there seems to be more to it than a single entry in the registry. BTW, I would be helped for the time being if it was possible through a registry hack or something similar for PWS 4.0 (Personal Web Server).