Share via


Adding a Custom Folder to Target a Predefined Windows Folder

Custom folders are special folders that represent folders on a target computer. A number of special folders are available within the File System Editor; however, Windows Installer supports additional predefined Windows folders that are not represented. You can create custom folders that target those additional predefined Windows folders. For a list of folders supported by Windows Installer, see System Folder Properties.

To add a custom folder that targets a predefined Windows folder

  1. In the Folder List of the File System Editor, select the File System on Target Machine node.

  2. On the Action menu, point to Add Special Folder, and then click Custom Folder.

    The new folder is highlighted in the Folder List.

  3. Type a name for the custom folder.

    For example, to target the Temp folder, type "Temp Folder".

  4. In the properties window, select the DefaultLocation property and enter the Windows Installer system folder property for the folder you wish to target.

    For example, the property for the Temp folder is [TempFolder]. For a list of system folder properties supported by Windows Installer, see System Folder Properties.

See Also

Special Folders and Custom Folders | Adding and Removing Folders in the File System Editor | File Installation Management in Deployment | System Folder Properties