Definition of a Folder



The keyword for a folder definition is Folder. A global ID of a folder should begin with gid_Folder. Folders are global and cannot be assigned to modules. Folders represent directories in the Windows system, making possible that the office can be started via the Windows start menu. Folders are during the setup process filled with FolderItems. A typical definition of a folder in the scp projects looks like:

Folder gid_Folder_Staroffice
Name = "%PRODUCTNAME %PRODUCTVERSION";
End

As you can see, the definition of a folder needs only a name. In this case this is %PRODUCTNAME and %PRODUCTVERSION, which are defined in the Installation object. Therefore the Folder name will be for example OpenOffice.org 2.0.

Only if at least one FolderItem exist, the Folder will be created. The Folder is realized by the setup as directory in the Windows system, for example below the start menu directory.