4.6

Table Of Contents
VMware, Inc. 7
Contents
6 LocatingtheThinAppSandbox 103
SearchOrderfortheSandbox 103
ControllingtheSandboxLocation 105
StoretheSandboxontheNetwork 105
StoretheSandboxonaPortableDevice 105
SandboxStructure 106
MakingChangestotheSandbox 106
ListingVirtualRegistryContentswithvregtool 106
7 CreatingThinAppSnapshotsandProjectsfromtheCommandLine 107
MethodsofUsingthesnapshot.exeUtility 107
CreatingSnapshotsofMachineStates 107
CreatingtheTemplatePackage.inifilefromTwoSnapshotFiles 108
CreatingtheThinAppProjectfromtheTemplatePackage.iniFile 108
DisplayingtheContentsofaSnapshotFile 109
Samplesnapshot.exeCommands 109
CreateaProjectWithouttheSetupCaptureWizard 109
Customizingthesnapshot.iniFile 110
8 ThinAppFileSystemFormatsandMacros 111
VirtualFileSystemFormats 111
ThinAppFolderMacros 111
ListofThinAppMacros 112
Processing%SystemRoot%inaTerminalServicesEnvironment 113
9 CreatingThinAppScripts 115
CallbackFunctions 115
ImplementScriptsinaThinAppEnvironment 116
.batExample 116
TimeoutExample 116
ModifytheVirtualRegistry 117
.regExample 117
StoppingaServiceExample 117
CopyingaFileExample 117
AddaValuetotheSystemRegistry 118
APIFunctions 119
AddForcedVirtualLoadPath 119
ExitProcess 119
ExpandPath 120
ExecuteExternalProcess 120
ExecuteVirtualProcess 121
GetBuildOption 121
GetFileVersionValue 121
GetCommandLine 122
GetCurrentProcessName 122
GetOSVersion 123
GetEnvironmentVariable 124
RemoveSandboxOnExit 124
SetEnvironmentVariable 124
SetfileSystemIsolation 125
SetRegistryIsolation 125
WaitForProcess 125