Predefined Environment Variables
The values for PackageIniOverrideFile (global and per application), ProjectPostProcessingCommand
(global and per application), and InstallationCommand can contain environment variables. ThinApp
Converter expands the value before using it.
ThinApp Converter adds these variables as predefined environment variables:
%AppInstallersRootDir% ‐ The UNC path of the application installers that is specified in
InputUncPath in the [Settings] section.
%AppInstallerDir% ‐ The subdirectory under %AppInstallersRootDir% for the relevant application.
%ThinAppProjectsRootDir% ‐ The UNC path for the generated ThinApp projects that is specified in
OutputUncPath in the [Settings] section.
%ThinAppProjectDir% ‐ The subdirectory under %ThinAppProjectsRootDir% for the relevant
application.
Example
Following is an example of how predefined variables can be used in the PackageIniOverrideFile,
ProjectPostProcessingCommand, and InstallationCommand parameters.
[Settings]
PackageIniOverrideFile=%AppInstallersRootDir%\AppSyncSettings.ini
;will resolve to \\AppInstallerServer\AppInstaller\AppSyncSettings.ini
[AppSettings:Adobe]
InstallationCommand=AdbeRdr920_en_US.exe /sAll
PackageIniOverrideFile=%AppInstallerDir%\override.ini
;will resolve to \\AppInstallerServer\AppInstaller\Adobe\AppSyncSettings.ini
VMware, Inc.
Chapter 2 Capturing Applications
37