Summary
Specifies the directory layout for the product.
Parameters
Attribute |
Type |
Description |
Required |
name |
string |
A name used to refer to the directory. |
True |
foldername |
string |
The directory's name (localizable)under the parent directory. |
True |
root |
string |
A reference to the directory's parent directory. This can be a property name or one of the predefined directories included with the default template:
- AdminToolsFolder
- AppDataFolder
- CommonAppDataFolder
- CommonFiles64Folder
- CommonFilesFolder
- DesktopFolder
- FavoritesFolder
- FontsFolder
- LocalAppDataFolder
- MyPicturesFolder
- PersonalFolder
- ProgramFilesFolder
- ProgramMenuFolder
- ProgramFiles64Folder
- SendToFolder
- StartMenuFolder
- StartupFolder
- System16Folder
- System64Folder
- SystemFolder
- TARGETDIR
- TempFolder
- TemplateFolder
- WindowsFolder
- WindowsVolume
|
True |
Nested Elements:
<directory>
Sub directories. Note, this element can contain nested <directory/> sub elements.
Parameters
Attribute
Type
Description
Required
-
name
string
A name used to refer to the directory.
True
-
foldername
string
The directory's name (localizable)under the parent directory.
True
</directory>
Examples
Define a sample directory structure.
<directories>
<directory name="D__ACME" foldername="ACME" root="TARGETDIR" >
<directory name="D__ACME_MyProduct" foldername="My Product" />
</directory>
</directories>
Syntax
[BuildElement("directories", ProcessXml = false)]
public SchemaElement[] InstallerDirectoriesElement { get; set; }
Attributes
Type |
Description |
BuildElement |
|
Value
Type |
Description |
SchemaElement[] |
|