Skip to main content
Version: v3

WebDir Element (Iis Extension)

Defines a subdirectory within an IIS web site. When this element is a child of WebSite, the web directory is defined within that web site. Otherwise the web directory must reference a WebSite element via the WebSite attribute.
Windows Installer references
Component, WebSite
Inner Text
Choice of elements (min: 0, max: unbounded)
IdString Yes
DirPropertiesString References the Id attribute for a WebDirProperties element that specifies the security and access properties for this web directory. This attribute may not be specified if a WebDirProperties element is directly nested in this element.  
PathStringSpecifies the name of this web directory.Yes
WebSiteStringReferences the Id attribute for a WebSite element in which this directory belongs. Required when this element is not a child of a WebSite element. 
See Also
Iis Schema