4.5

Table Of Contents
VMware, Inc. 89
Chapter 5 Configuring Package Parameters
ThinAppsetsaninitialvalueoftheMSIRequireElevatedPrivilegesparameterthatmarkstheMSI
databaseasrequiringelevatedprivileges.IfyoursystemissetupforUACprompts,aUACpromptappears
whenyouinstallanapplication.
TheparameterworksonlywhentheMSIFilenameparameterrequeststhegenerationofaWindowsInstaller
database.
Examples
YoucanmodifytheMSIRequireElevatedPrivilegesparametertoblocktheUACpromptandthe
installationacrossallcomputers.
[BuildOptions]
MSIFilename=<my_msi>.msi
MSIRequireElevatedPrivileges=0
MSIUpgradeCode
TheMSIUpgradeCodeparameterspecifiesacodefortheMSIdatabasethatfacilitatesupdates.Whentwo
packages,suchastheversion1.0packageandtheversion2.0package,havethesameupgradecode,theMSI
installerdetectsthislink,uninstallstheearlierpackage,andinstallstheupdatedpackage.
Thecaptureprocessgenerates
arandomupgradecodebasedontheinventoryname.ToensurethattheMSI
databaseversionshavethesameupgradecode,keepthesameinventorynameacrossversionsoftheMSI
wrapper.Forinformationabouttheinventoryname,see“InventoryName”onpage 90.
TheparameterworksonlywhentheMSIFilenameparameterrequests
thegenerationofaWindowsInstaller
database.
DonotmodifytheUpgradeCodevalueunlessthenewvalueisavalidGUID.
Examples
ThecaptureprocesscancreateanMSIfilewithD89F1994A24B3E110C947FD1E13AB93Fastheupgrade
code.
[BuildOptions]
MSIFilename=mymsi.msi
MSIUpgradeCode={D89F1994-A24B-3E11-0C94-7FD1E13AB93F}
MSIUseCabs
TheMSIUseCabsparameterdeterminestheuseof.cabfilesthatcanaffectapplicationperformance.
ThinAppsetsaninitialvaluethatcompressesthepackagefilesina.cabfileandmakesiteasiertomovethe
file.The .cabfileisintheMSIfile.
Examples
YoucanmodifytheMSIUseCabsparametertoavoida.cabfilewhenitslowsdowntheinstallationprocess
forapplications.YoucandistributetheMSIfileandindividualexecutablefilesinthe/bindirectorytoinstall
theapplication.
[BuildOptions]
MSIUseCabs=0