IFolderProperties
The interface allows you to access the folders properties in the current project.
Properties
string Id - Gets or sets MSI directory identifier, not the folder path..
string TargetName - Gest or sets Folder name on the target machine..
string SourceName - Gets or sets Folder name in the source layout; does not rename the folder on disk..
bool CreateFolderOnTargetMachine - Gets or sets Creates the folder during installation, even when empty. Disabling is ignored for empty folders..
bool InstallFolderIntoParentFolder - $true: installs contents into the parent folder. $false: restores SourceName as the target name without deleting the folder or files..
Property-based folders ignore changes to Id,
TargetName, and
InstallFolderIntoParentFolder
Example
$folder.Properties.InstallFolderIntoParentFolder = $false.