4.0.4

Table Of Contents
ThinApp User’s Guide
30 VMware, Inc.
Modify the Package.ini File to Create MSI Files
YoumustenteravaluefortheMSIFilenameparametertogenerateMSIfiles.FormoreinformationaboutMSI
parameters,see“CustomizingMSIFileswithPackage.iniParameters”onpage 29and“ConfiguringMSI
Files”onpage 88.
To edit the MSI parameters
1InthePackage.inifile,entertheMSIfilename.
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
ThinAppinstallstheMSIdatabaseacrossallmachines.Youcanchangethedefaultinstallationwiththe
followingparametervalues:
Tocreateadatabaseinstallationforindividualusers,useavalueof0forthe
MSIDefaultInstallAllUsersparameterinthePackage.inifile.Thisvaluecreatesmsiexec
parametersforeachuser.
Tocreateadatabaseinstallationforindividualmachinesforadministratorsandindividualuser
installationsforotherusers,useavalueof2fortheMSIDefaultInstallAllUsersparameter.
AdministratorsbelongtotheAdministratorsActiveDirectorygroup.
FormoreinformationabouttheMSIDefaultInstallAllUsersparameter,see“MSIDefaultInstallAllUsers”
onpage 88.
Force MSI Deployments for Each User or Each Machine
Regardlessoftheparametervaluesspecified
atbuildtime,youcanoverridethesettingsatdeploymenttime.
Forexample,ifyoucreatedthedatabasewithavalueof1fortheMSIDefaultInstallAllUsersparameter,
youcanstillforceindividualuserdeploymentsforFirefox3.0withthemsiexec /i Firefox30.msi
ALLUSERS=""command.
IfyouusetheALLUSERS=""argumentforthemsiexec
command,ThinAppextractsthecapturedexecutable
filestothe%AppData%userdirectory.
To force MSI deployments for individual users
Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=""command.
To force MSI deployments for all users on a machine
Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=1command.
Override the MSI Installation Directory
WhenThinAppperformsanindividualmachineMSIdeployment,thedefaultinstallationdirectoryisthe
localizedequivalentof%ProgramFilesDir%\<inventory_name> (VMware ThinApp).Ifyouinstalla
Firefox
packageforeachmachine,thepackageresidesin%ProgramFilesDir%\Mozilla Firefox (VMware ThinApp).
WhenThinAppperformsanMSIdeploymentforindividualusers,thedefaultinstallationdirectoryis
%AppData%\<inventory_name> (VMware ThinApp).
Inbothcases,youcanoverridetheinstallationdirectorybypassinganINSTALLDIRpropertytothemsiexec
command.