DirectoryRef Element

Windows Installer XML (WiX) v3.0

DirectoryRef Element

Description
Create a reference to a Directory element in another Fragment.
Windows Installer references
None
Parents
Fragment, Module, PatchFamily, Product
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
  • Component (min: 0, max: unbounded)
  • Directory (min: 0, max: unbounded)
  • Merge (min: 0, max: unbounded)
  • Any Element namespace='##other' processContents='Lax'
Attributes
Name Type Description Required
Id String The identifier of the Directory element to reference. Yes
DiskId Integer Sets the default disk identifier for the files contained in this directory. This attribute's value may be overridden by a child Component, Directory, Merge or File element. See the File or Merge elements' DiskId attribute for more information.  
FileSource String Used to set the file system source for this DirectoryRef's child elements. For more information, see Specifying source files.  
src String This attribute has been deprecated; please use the FileSource attribute instead.  
Any attribute namespace='##other' processContents='lax'
How Tos and Examples
See Also
Wix Schema, Directory