Mobile Folder attributes

A Mobile Folder object represents a folder for installation on a Windows Mobile device.

Installation of a mobile folder is controlled indirectly by its Mobile Component: the folder is added to the mobile component's Windows Mobile installation cabinet and will be installed whenever that cabinet is installed on a mobile device. The folder will be removed whenever its application is removed from the mobile device; this falls outside the control of InstallMate.

Note: If a mobile folder is not assigned to a component but contains one or more Mobile File or Mobile Shortcut objects that are, the folder will be automatically added to the file's or shortcut's component's Windows Mobile cabinet file. This also applies if the mobile folder is assigned to a different component than its files or shortcuts.

Attributes

This pane contains the following attributes and options.

Attribute Description
Folder name Enter the name of the folder. You may use symbolic references in the name, but they will be resolved when the installer is built, not during installation.
Alias Enter the alias for the folder. This alias must be unique in the project. InstallMate uses the alias as if it were a symbolic variable; for example, you can use expressions like <folder_alias> to retrieve the folder's installation path.
Install action Select the desired installation action from the drop-down list. The installation action is executed when the Windows Mobile installation cabinet generated from the folder's component is installed onto the mobile device, if any. The following choices are available:
Install action InstallMate
Create on demand The folder is created, if it does not already exist, when its first file, shortcut, or subfolder is installed.
Remove actions Select the desired removal action from the drop-down list. The removal action is executed when the folder's application is removed from the mobile device. The following choices are available:
Remove action InstallMate
Remove if empty If the folder exists but has no files or subfolders, it is removed. If it contains one or more files or subfolders, it is left as-is.
Advanced...

Click this button to open the Folder - Watch Lists and Folder - Traits dialog box. These dialog boxes allows you to set some advanced folder options.

Watch lists

A watch list designates a variable group of source files that must be installed in the folder. Each member of the watch list contains a file filter (i.e., a file path with wildcards in the file name) and all matching source files are automatically added to the folder. If new source files are added, they are included as well; if any source files are removed from the development system, they are removed from the folder as well.

Each folder can have multiple file filters associated with it; you can edit or remove them through the Watch Lists dialog box that appears when you click the Advanced... button.

Watch lists are re-evaluated under the following circumstances:

The watch lists do not monitor the Windows file system, so any changes to the files on the watch lists are not detected until one of the previous events takes place.

Related topics

Files, Folders, Shortcuts, Working with attribute panes