4.6.1

Table Of Contents
VMware, Inc. 97
Chapter 5 Configuring Package Parameters
Examples
ThinAppsetsaninitialvaluefortheMSIDefaultInstallAllUsersparameterthatinstallstheMSIdatabase
withshortcutsandfiletypeassociationsforalluserswhologintothecomputer.Theuserwhoinstallsthe
databasemusthaveadministratorrights.Youcanusethisapproachtopushtheapplicationtodesktopsforall
us
ers.
[BuildOptions]
MSIFilename=<my_msi>.msi
MSIDefaultInstallAllUsers=1
AnindividualusercaninstalltheMSIdatabasewithshortcutsandfiletypeassociationsforonlythatuser.You
donotneedadministratorrightsforanindividualuserinstallation.Usethisapproachwhenyouwanteach
usertodeploytheapplicationseparately.
[BuildOptions]
MSIFilename=<my_msi>.msi
MSIDefaultInstallAllUsers=0
AnadministratorcaninstalltheMSIdatabaseforallusersonamachineoranindividualuserwithout
administratorrightscaninstallthedatabaseforonlythatuser.
[BuildOptions]
MSIFilename=<my_msi>.msi
MSIDefaultInstallAllUsers=2
MSIFilename
TheMSIFilenameparametertriggersthegenerationofanMSIdatabaseandspecifiesitsfilename.OtherMSI
parameterscanworkonlywhenyouuncommenttheMSIFilenameparameter.
ThisparameterproducesaWindowsInstallerwiththespecifiedfilenameintheoutputdirectory.Youcan
createanMSIfilewhenyouwanttodeliverpackagestoremotelo
cationsthroughdesktopmanagement
systems.Unlikeexecutablefilesthatrequirethemanualuseofthethinreg.exeutility,MSIfilesautomatethe
creationofshortcutsandfiletypeassociationsforeachuser.
ThinAppcommentsouttheMSIFilenameparameterunlessyouspecifyMSIgenerationduringthecapture
process.
Examples
TheinventorynameisthedefaultnameintheMSIFilenameparameter.
[BuildOptions]
;MSIFilename=<inventory_name>.msi
YoucangenerateanMSIfileduringthebuildprocessandreplacethefilenamewithyourownfilename.
[BuildOptions]
MSIFilename=<my_msi>.msi
MSIInstallDirectory
TheMSIInstallDirectoryparameterspecifiestherelativepathoftheMSIinstallationdirectory.Thepathis
relativeto%ProgramFilesDir%forinstallationsoneachmachineandrelativeto%AppData%forinstallations
foreachuser.
WhenyouinstalltheMSIdatabaseforallusers,ThinAppplacesapplicationsinthe
C:\%ProgramFilesDir%\<InventoryName> (VMware ThinApp)directoryduringtheinstallationonea
ch
machine.
WhenyouinstalltheMSIdatabaseforindividualusers,ThinAppplacesapplicationsinthe
C:\%AppData%\<InventoryName> (VMware ThinApp)directory.
TheparameterworksonlywhentheMSIFilenameparameterrequeststhegenerationofaWindowsInstaller
database.