I need to create a tree of virtual directories in IIS. The root of the tree will refer to directories installed by my package, but I need at least one folder in the tree to refer to a directory not installed by my package; this could be a local folder or a network share. Is there a way to create virtual directories for arbitrary local folders or network shares with IIsExtension?
I tried creating a VBScript CA to configure directories using the IIS ADSI provider, but it doesn't set any properties on the directories when called by the Windows Installer. Calling the same script using cscript or wscript configures the virtual directories as expected. The relevant portion of my VBScript CA code is as follows: --------------BEGIN-------------- Set oParent = GetObject("IIS://localhost/W3SVC/1/Root/MyApplication") Set oVDir = oParent.Create("IIsWebVirtualDir", "data") oVDir.Put "Path", Session.Property("DATA_FOLDER_PATH") oVDir.Put "AccessRead", True oVDir.Put "UNCUserName", Session.Property("IIS_USERNAME") oVDir.Put "UNCPassword", Session.Property("IIS_PASSWORD") oVDir.SetInfo --------------END-------------- Any assistance would be appreciated. I'm using WiX 3.0 and I'm in no way attached to my VBScript CA. Thanks Chris ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users