InstallerContactSite Map

Creating new folders

New Folder Use the [ New Folder ] toolbar button, the “New Folder” tree/list context menu item or press the Insert key while the focus is on the tree control. The folder names must have only valid filename ASCII characters.

TipYou can create two types of folders: regular and property based. Property based folders will be resolved at install time to the values from the respective property. This property can be one of the Windows Installer Folders, the result of a Search operation or a custom property set in the Install Parameters page.

In order to create a property-based folder which uses a custom property you can follow these steps:

  • create your custom property (you can use the "Install Parameters" page, a search, a custom dialog, a custom action etc.)
  • go to the "Files and Folders" page of your project and right click "Target Computer"
  • select "New Folder" -> "Property based" in the context menu
  • select your custom property in the Property Picker dialog
  • add your files in the generated folder

NoteNote that a property used by a property-based folder must contain a valid path. If this is not the case and the path cannot be resolved, the installation will fail.

Adding an existing folder from the hard-drive

Add Folder Use the [ Add Folder... ] toolbar button, the “Add Folder...” tree/list context menu item, or press the + key while the focus is on the “Folders” panel. The folder and all the files and folders it contains will be added to the project in the selected folder from the left pane.

Setting folder properties

Properties Use the [ Properties... ] toolbar button or the “Properties...” tree context menu item.

In the Folder Properties Dialog box you can:

  • mark the selected folder to be one of the Synchronized Folders with a source folder on disk
  • schedule the folder to be removed at component install or uninstall time
  • add, edit or remove the folder's permissions

Converting folder contents to path variables

Use the “Convert Paths...” context menu item. A wizard will be launched enabling you to convert the following folder items to path variables:

  • Regular files source paths.
  • Temporary files source paths.
  • Synchronized folders source paths.

Uninstall Cleanup

Launches a wizard that will allow you to specify what files and folders created by your application will be removed upon uninstall.

Renaming folders

Use the “Rename” context menu item or press the F2 key. The folder name is of PseudoFormatted type.

Locating the attached component for a resource

Use the “Go To Component” tree context menu item or press the F8 key. This command will activate the Organization page with the appropriate component selected in the left tree control.

This command is available only for a user defined empty folder, a synchronized folder or a folder removal operation.

Moving folders

Drag and drop the folder to be moved to the target folder.

Removing folders

Remove Use the [ Delete ] toolbar button, the “Delete” tree context menu item, or press the Delete key.

Refreshing synchronized folders

Refresh Synchronized Folders Use the [ Refresh ] toolbar button or the “Refresh” tree context menu item.

ImportantIn case of Merge Module projects the following attributes can be made configurable at merge time:

  • Directory_Parent
  • DefaultDir

Topics