Note

You are not reading the most recent version of this documentation. See the latest version available.

[MSI] Add system folders

Add system folders (pre-defined folders) to the MSI package.

Important

Precondition: Open an MSI package in MSI Editor (see Open MSI/MST).

  1. Go to the Package Designer > Files and folders tab.

    image228

  2. In the top right corner, click the Filters button and untick Hide empty folder and Hide items without permissions to check if the package already contains the necessary folder.

    pkg-designer--files-n-folders--filters

  3. To add system folders, select Add > System folders from the toolbox.

    image230

  4. Tick folders from the list and then click Add.

    Note

    The list displays only those folders, which do not exist in the opened package.

    image231

List of System folders

Property (identifier)

Description

AdminToolsFolder

The full path to the directory that contains administrative tools.

AppDataFolder

The full path to the Roaming folder for the current user. A typical path is C:\Users\%USERNAME%\AppData\ Roaming.

CommonAppDataFolder

The full path to application data for all users. A typical path is C:\ProgramData.

CommonFiles64Folder

The full path to the predefined 64-bit Common Files folder. A typical path on 64-bit platforms is C:\Program Files\Common Files.

CommonFilesFolder

The full path to the Common Files folder for the current user. A typical path on 64-bit platforms is C:\Program Files (x86)\Common Files; on 32-bit - C:\Program Files\Common Files.

DesktopFolder

The full path to the Desktop folder for the current user if the per-user installation context is set, where a typical value is C:\Users\%USERNAME%\Desktop. Otherwise, the full path to the All Users Desktop folder if the per-machine installation context is set, where a typical path is C:\Users\Public\Desktop.

FavoritesFolder

The full path to the Favorites folder for the current user.

FontsFolder

The full path to the Fonts folder.

LocalAppDataFolder

The full path to the folder that contains local (nonroaming) applications. A typical path is C:\Users\%USERNAME%\AppData\Local.

MyPicturesFolder

The full path to the Pictures folder.

NetHoodFolder

The full path to the NetHood folder.

PersonalFolder

The full path to the Documents folder for the current user.

PrintHoodFolder

The full path to the PrintHood folder.

ProgramFiles64Folder

The full path to the predefined 64-bit Program Files folder.

ProgramFilesFolder

The full path to the predefined 32-bit Program Files folder.

ProgramMenuFolder

The full path to the Program Menu folder.

RecentFolder

The full path to the Recent folder.

SendToFolder

The full path to the SendTo folder for the current user.

StartMenuFolder

The full path to the Start menu folder.

StartupFolder

The full path to the Startup folder.

System16Folder

The full path to folder for 16-bit system DLLs.

System64Folder

The full path to the predefined System64 folder.

SystemFolder

The full path to the System folder for the current user.

TARGETDIR

Specifies the root destination directory for the installation.

TempFolder

The full path to the Temp folder.

TemplateFolder

The full path to the Template folder for the current user.

WindowsFolder

The full path to the Windows folder.

WindowsVolume

A drive where the Windows folder is located.




Note

PACE Suite covers the whole range of application packaging tasks - learn more.

Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.