EasyManua.ls Logo

VMware THINAPP 4.6 - Setfilesystemisolation; Setregistryisolation; Waitforprocess

VMware THINAPP 4.6
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMware, Inc. 125
Chapter 9 Creating ThinApp Scripts
SetfileSystemIsolation
TheSetfile systemIsolation(Directory, IsolationMode)functionsetstheisolationmodeofa
directory.
Parameters
Directory
[in]Fullpathofthedirectorywhoseisolationmodeistobeset.
IsolationMode
[in]Isolationmodetoset.
1=WriteCopy
2=Merged
3=Full
Examples
YoucansettheMergedisolationmodeforthetempdirectory.
Setfile systemIsolation GetEnvironmentVariable("TEMP"), 2
SetRegistryIsolation
TheSetRegistryIsolation(RegistryKey, IsolationMode)functionsetstheisolationmodeofaregistry
key.
Parameters
RegistryKey
[in]Theregistrykeyonwhichtosettheisolationmode.StartwithHKLMforHKEY_LOCAL_MACHINE,HKCUfor
HKEY_CURRENT_USER,andHKCRforHKEY_CLASSES_ROOT.
IsolationMode
[in]Isolationmodetoset.
1=WriteCopy
2=Merged
3=Full
Examples
YoucansettheFullisolationmodeforHKEY_CURRENT_USER\Software\Thinapp\Test.
SetRegistryIsolation "HKCU\Software\Thinapp\Test," 3
WaitForProcess
TheWaitForProcess(ProcessID, TimeOutInMilliSeconds)functionwaitsuntiltheprocessIDis
finishedrunning.
Parameters
ProcessID
[in]TheprocessIDtoend.TheprocessIDcancomefromExecuteExternalProcessor
ExecuteVirtualProcess.
TimeOutInMilliSeconds
[in]Themaximumamountoftimetowaitfortheprocesstofinishrunningbeforecontinuing.Avalueof0
specifiesINFINITE.

Table of Contents

Related product manuals