4.6

Table Of Contents
VMware, Inc. 77
Chapter 5 Configuring Package Parameters
NotificationDLLs
TheNotificationDLLsparametermakescallstothirdpartyDLLfilestoprovidenotificationofev ents,such
asapplicationstartuporshutdown.TheDLLscanresideonthephysicalfilesystemorthevirtualpackage.
If ThinAppcannotloadaDLLfile,thepackagegenerateserrors.
Thisparameterdoesnotappearinthe
Package.inifile.ThinAppSDKuserscanaddthisparametertothefile.
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
TheObjectTypesparameterspecifiesalistofvirtualCOM objecttypesthatarevisibletootherapplicationsin
thephysicalenvironment.Youcanusescripts, suchasVBScripts,tocallobjectsthatstartcapturedapplications.
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.ThinAppplacesCOMobjectsthatthevirtualapplication
registersinthesandbox.