4.5

Table Of Contents
VMware, Inc. 67
Chapter 5 Configuring Package Parameters
Examples
YoucanmodifytheNotificationDLLsparametertomakecallstotheFirst.dllandSecond.dllfiles.
[BuildOptions]
NotificationDLLs=First.dll;Second.dll
NotificationDLLSignature
TheNotificationDLLSignatureparameterworkswiththeNotificationDLLsparameterandverifiesthat
aspecifiedDLLfilehasasignature.IftheDLLdoesnothaveasignature,ThinAppdoesnotloadthefile.
Example
YoucanmodifytheNotificationDLLSignatureparameterwithanasterisk(*)toensurethattheDLLfileis
authenticodesigned.
[BuildOptions]
NotificationDLLSignature=*
YoucansetanentitytoensurethattheDLLissignedbythatentity.
[BuildOptions]
NotificationDLLSignature=VMware, Inc.
ObjectTypes
TheObjectTypesparameterspecifiesalistofvirtualCOMobjecttypesthatarevisibletootherapplications
inthephysicalenvironment.Youcanusescripts,suchasVBScripts,tocallobjectsthatstartcaptured
applications.
Anobjecttypeisregisteredtoonlyonenativeorvirtualapplicationatatime.If
youinstallOffice2003onthe
nativemachineandwanttouseavirtualOffice2007package,youmustdeterminewhethertohavethevirtual
ornativeapplicationhandletheobjecttypes.
IfyouwantthevirtualOffice2007tohandletheobjecttypes,youcanleavetheObjectTypessettingin
the
Package.inifile,buildthepackage,andregisteritusingthethinreg.exeutility.Ifyouwantthenative
Office2003tohandletheobjecttypes,youmustremovetheObjectTypessettingfromthePackage.inifile
beforebuildingandregisteringthepackage.YoucannotaddrandomentriestotheObjectTypesparameter.
You
canonlyremoveentriesgeneratedbythecaptureprocess.
Examples
IfascriptoranativeapplicationcreatesanExcel.ApplicationCOMobjectorotherCOMobjectslistedin
theObjectTypesparameter,ThinAppstartsthevirtualpackage.
[Microsoft Office Excel 2007.exe]
ObjectTypes=Excel.Application;Excel.Application.12;Excel.Chart;
Excel.Macrosheet;Excel.Sheet; Excel.Workspace
SandboxCOMObjects
TheSandboxCOMObjectsparameterindicateswhetherapplicationsinthephysicalenvironmentcanaccess
COMobjectsthatthevirtualapplicationregistersatruntime.
ThinAppsetsaninitialvaluethatpreventsnativeapplicationsinthephysicalenvironmentfromaccessing
COMobjectsthatthevirtualapplicationregisters.ThinAppplacesinthesandboxtheCOMobjects
thatthe
virtualapplicationregisters.