WebVirtualDir Element

WiX Help

WebVirtualDir Element

Description

Defines an IIS virtual directory. When this element is a child of WebSite element, the virtual directory is defined within that web site. Otherwise this virtual directory must reference a WebSite element via the WebSite attribute

Windows Installer references
None
Parents
Component, Include, WebSite, WebVirtualDir
Inner Text
None
Children
Sequence (min: 1, max: 1)
  1. WebApplication (min: 0, max: 1)
  2. WebError (min: 0, max: unbounded)
  3. WebVirtualDir (min: 0, max: unbounded)
  4. HttpHeader (min: 0, max: unbounded)
  5. MimeMap (min: 0, max: unbounded)
Attributes
Name Type Description Required
Id String   Yes
Alias String Sets the application name, which is the URL relative path used to access this virtual directory Yes
Directory String References the Id attribute for a Directory element that points to the content for this virtual directory. Yes
DirProperties String References the Id attribute for a WebDirProperties element that specifies the security and access properties for this virtual directory.  
WebApplication String References the Id attribute for a WebApplication element that specifies web application settings for this virtual directory. If a WebApplication child is not specified, the virtual directory does not host web applications.  
WebSite String References the Id attribute for a WebSite in which this virtual directory belongs. Required when this element is not a child of WebSite element.  
See Also
Wix Schema