VMware, Inc.
125
Chapter 9 Creating ThinApp Scripts
SetfileSystemIsolation
The
Setfile systemIsolation(Directory, IsolationMode)
function
sets
the
isolation
mode
of
a
directory.
Parameters
Directory
[in]
Full
path
of
the
directory
whose
isolation
mode
is
to
be
set.
IsolationMode
[in]
Isolation
mode
to
set.
1
=
WriteCopy
2
=
Merged
3
=
Full
Examples
You
can
set
the
Merged
isolation
mode
for
the
temp
directory.
Setfile systemIsolation GetEnvironmentVariable("TEMP"), 2
SetRegistryIsolation
The
SetRegistryIsolation(RegistryKey, IsolationMode)
function
sets
the
isolation
mode
of
a
registry
key.
Parameters
RegistryKey
[in]
The
registry
key
on
which
to
set
the
isolation
mode.
Start
with
HKLM
for
HKEY_LOCAL_MACHINE
,
HKCU
for
HKEY_CURRENT_USER
,
and
HKCR
for
HKEY_CLASSES_ROOT
.
IsolationMode
[in]
Isolation
mode
to
set.
1
=
WriteCopy
2
=
Merged
3
=
Full
Examples
You
can
set
the
Full
isolation
mode
for
HKEY_CURRENT_USER\Software\Thinapp\Test
.
SetRegistryIsolation "HKCU\Software\Thinapp\Test," 3
WaitForProcess
The
WaitForProcess(ProcessID, TimeOutInMilliSeconds)
function
waits
until
the
process
ID
is
finished
running.
Parameters
ProcessID
[in]
The
process
ID
to
end.
The
process
ID
can
come
from
ExecuteExternalProcess
or
ExecuteVirtualProcess
.
TimeOutInMilliSeconds
[in]
The
maximum
amount
of
time
to
wait
for
the
process
to
finish
running
before
continuing.
A
value
of
0
specifies
INFINITE.
Summary of Contents for THINAPP 4.6 - MIGRATING APPLICATIONS TECHNICAL NOTE
Page 38: ...ThinApp User s Guide 38 VMware Inc...
Page 114: ...ThinApp User s Guide 114 VMware Inc...
Page 136: ...ThinApp User s Guide 136 VMware Inc...