DirectoryRef Element

WiX

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') Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema.
Attributes
Name Type Description Required
Id String The identifier of the Directory element to reference. Yes
DiskId DiskIdType 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') Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema.
How Tos and Examples
See Also
Wix Schema, Directory