4.7.3

Table Of Contents
VMware, Inc. 31
Chapter 2 Capturing Applications
InstallationCommand
SpecifyhowThinAppConvertershouldstarttheapplicationinstaller.Ifthereisnovalue,ThinAppConverter
attemptstoselectoneinstallationcommandusingthelogicdescribedin“ThinAppConverterLogicfor
DetectingtheApplicationInstallationProcesses”onpage 29.
PackageIniOverrideFile
ThePackage.inioverridefilethatisappliedtoasingleapplicationinstaller.When
thisparameterhasavalue,
theglobaloverridefileisprocessedfirst,followedbythisapplicationspecificoverridefile.
Thefilepathisrelativetotheapplicationinstallersubdirectory.Usingtheexampleatthebottomofthissection,
ifyouspecifyPackageIniOverrideFile=override.ini,ThinAppConverterwilltrytofindthefile
under
\\AppInstallerServer\AppInstaller\Adobe.Youcanprovideamoreexplicitvaluebyusingpredefined
variables.Formoreinformation,see“PredefinedEnvironmentVariablesonpage 31.
ProjectPostProcessingCommand
Specifytheprojectpostprocessingcommandforthespecificapplication.
Whenthisparameterhasavalue,theglobaloverridefileisprocessedfirst,followedbythis
applicationspecificpost
processingcommand.
Example
Followingisanexampleofhowtoapplyanapplicationspecificoverrideduringpostprocessing.
[AppSettings:Adobe]
InstallationCommand=AdbeRdr920_en_US.exe /sAll
PackageIniOverrideFile=override.ini
[AppSettings:TextPad]
InstallationCommand=silent_install.bat
ProjectPostProcessingCommand=%AppInstallerDir%\addscript.bat
Predefined Environment Variables
ThevaluesforPackageIniOverrideFile(globalandperapplication),ProjectPostProcessingCommand
(globalandperapplication),andInstallationCommandcancontainenvironmentvariables.ThinApp
Converterexpandsthevaluebeforeusingit.
ThinAppConverteraddsthesevariablesaspredefinedenvironmentvariables:
%AppInstallersRootDir%‐TheUNCpathoftheapplicationinstallersthatisspecifiedin
InputUncPathinthe[Settings]section.
%AppInstallerDir%‐Thesubdirectoryunder%AppInstallersRootDir%fortherelevantapplication.
%ThinAppProjectsRootDir%‐TheUNCpathforthegeneratedThinAppprojectsthatisspecifiedin
OutputUncPathinthe[Settings]section.
%ThinAppProjectDir%‐Thesubdirectoryunder%ThinAppProjectsRootDir%fortherelevant
application.
Example
FollowingisanexampleofhowpredefinedvariablescanbeusedinthePackageIniOverrideFile,
ProjectPostProcessingCommand,andInstallationCommandparameters.
[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