5.0

Table Of Contents
ThinApp User’s Guide
38 VMware, Inc.
Modify the MSI parameters
1InthePackage.inifile,typetheMSIfilename.
MSIFilename=<filename>.msi
Forexample,thefilenameforFirefoxmightbeMozilla Firefox 2.0.0.3.msi.
2 (Optional)UpdateotherMSIparameters.
3Doubleclickthebuild.batfileinthecapturedapplicationfoldertorebuildtheapplicationpackage.
Specifying a Database Installation for Individual Users and Machines
YoucanmodifytheinstallationoftheMSIdatabaseforusersandmachines.
ThinAppinstallstheMSIdatabaseacrossallmachines.Youcanchangethedefaultinstallationwiththe
followingparametervalues:
Tocreateadatabaseinstallationforindividualusers,useavalueof0forthe
MSIDefaultInstallAllUsersparameterinthePackage.inifile.Thisvaluecreatesmsiexec
parametersforeachuser.
Toallowadministratorstocreateadatabaseinstallationforallusersonamachine,ortoallowan
individualuserwithoutadministratorrightstocreateaninstallationonlyforthatuser,useavalueof2
fortheMSIDefaultInstallAllUsersparameter.AdministratorsbelongtotheAdministratorsActive
Directorygroup.
Formoreinformation
abouttheMSIDefaultInstallAllUsersparameter,referThinAppPackage.ini
ParametersReferenceGuide.
Force MSI Deployments for Each User or Each Machine
Regardlessoftheparametervaluesspecifiedatbuildtime,youcanoverrideMSIsettingsatdeploymenttime.
Forexample,ifyoucreatedthedatabasewithavalueof1fortheMSIDefaultInstallAllUsersparameter,
youcanstillforceindividualuserdeploymentsfor
Firefox3.0withthemsiexec /i Firefox30.msi
ALLUSERS=""command.
IfyouusetheALLUSERS=""argumentforthemsiexeccommand,ThinAppextractsthecapturedexecutable
filestothe%AppData%userdirectory.
Deploying 64 bit MSI
SetPackage.iniparameterMSIIs64Bittoinstall64bitMSItoProgramFilesinsteadofProgramFiles(x86)on
64bitsystem.
Example
MSIIs64Bit=1
Force MSI Deployments for Individual Users or for All Users on a Machine
(Optional)Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=""commandto
forcedeploymentsforindividualusers.
(Optional)Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=1commandto
forcedeploymentsforallusersonamachine.
Override the MSI Installation Directory
YoucanusethemsiexeccommandtooverridethedefaultMSIinstallationdirectory.
WhenThinAppperformsanindividualmachineMSIdeployment,thedefaultinstallationdirectoryisthe
localizedequivalentof%ProgramFilesDir%\<inventory_name> (VMware ThinApp).Ifyou
installaFirefox
packageforeachmachine,thepackageresidesin%ProgramFilesDir%\Mozilla Firefox (VMware ThinApp).
WhenThinAppperformsanMSIdeploymentforindividualusers,thedefaultinstallationdirectoryis
%AppData%\<inventory_name> (VMware ThinApp).