4.6.1

Table Of Contents
VMware, Inc. 41
Chapter 3 Deploying Applications
Run the thinreg.exe Utility
Thisexampleofrunningthethinreg.exeutilityprovidessomesamplecommands.
Thepackagenameinthethinreg.execommandscanappearinthefollowingways:
C:\<absolute_path_to_.exe>
Relativepathto.exefile
\\<server>\<share>\<path_to_.exe>
Asavariation,youcanuseawildcardspecification,suchas*.exe.
Ifthepathorfilenamecontainsspaces,enclosethepathindoublequotationmarks.Thefollowing
commandshowstheuseofdoublequotationmarks.
thinreg.exe "\\DEPLOYSERVER\ThinApps\Microsoft Office Word 2007.exe"
Forinformationaboutthinreg.exeparameters,see“Optionalthinreg.exeParameters”onpage 41.
Run the thinreg.exe utility
1 DeterminetheexecutablefilesthatThinAppmustregisterwiththelocalenvironment.
2Fromthecommandline,typethethinreg.execommand.
thinreg.exe [<optional_parameters>] [<package1.exe>][<package2.exe>][<packages_by_wildcard>]
IftheservernameisDEPLOYSERVERandtheshareisThinApps,usethefollowingexampletoregister
MicrosoftWordfortheloggedinuser.
ThinReg.exe "\\DEPLOYSERVER\ThinApps\Microsoft Office 2007 Word.exe"
UsethefollowingexampletoregisterallMicrosoftOfficeapplicationsinthespecifieddirectoryforthe
loggedinuser.
ThinReg.exe "\\DEPLOYSERVER\ThinApps\Microsoft Office *.exe"
Optional thinreg.exe Parameters
Thethinreg.exeutilitymonitorsthePermittedGroupssettinginthePackage.inifile,registeringand
unregisteringpackagesasneeded.Whenthethinreg.exeutilityregistersapackageforthecurrentuser,the
utilitycreatesonlytheshortcutsandfiletypeassociationsthatthecurrentuserisauthorizedforinthe
PermittedGroupssetting.Ifthissettingdo
esnotexist,thecurrentuserisauthorizedforallexecutablefiles.
Whenthethinreg.exeutilityregistersapackageforalluserswiththe/allusersparameter,ThinApp
createsallshortcutsandfiletypeassociationsregardlessofthePermittedGroupssetting.Whenyou
doubleclickashortcuticonthatyouarenotauthorize
dfor,youcannotruntheapplication.
Ifthepackagenameyouwanttoregisterorunregistercontainsspaces,youmustencloseitindoublequotation
marks.
ForinformationaboutthePermittedGroupssettingandsupportforActiveDirectorygroups,see
“PermittedGroups”onpage 73.
Thethinreg.exeutilityalsomonitorsthePermittedComputerssettinginthePack
age.inifile.Whenthe
settinghasavalue,thepackagecanonlyberegisteredonacomputerwithinthespecified
PermittedComputersgroup.Ifthissettingisempty,thepackagecanberegisteredonanycomputer,subjectto
thePermittedGroupssetting.
Table 31listsoptionalparametersforthethinreg.exeutility.Anycommandthatus
esthe/aparameter
requiresadministratorrights.