ThinApp User’s Guide
122
VMware, Inc.
You
can
retrieve
the
following
values
from
most
DLLs:
Comments
InternalName
ProductName
CompanyName
LegalCopyright
ProductVersion
FileDescription
LegalTrademarks
PrivateBuild
FileVersion
OriginalFilename
SpecialBuild
Returns
This
function
returns
a
string
value.
If
the
requested
filename
does
not
exist,
or
the
function
cannot
locate
the
specified
value
in
the
file,
the
function
returns
an
empty
string
(
ʺʺ
).
Examples
FileVersion = GetFileVersionValue("C:\windows\system32\kernel32.dll," "FileVersion")
if FileVersion = "1.0.0.0" then
MsgBox "This is Version 1.0!"
End if
GetCommandLine
The
GetCommandLine
function
accesses
the
command
‐
line
parameters
passed
to
the
running
program.
Returns
This
function
returns
a
string
that
represents
the
command
‐
line
arguments
passed
to
the
current
running
program,
including
the
original
executable
file.
Examples
MsgBox "The command line for this EXE was " + GetCommandLine
GetCurrentProcessName
The
GetCurrentProcessName
function
accesses
the
full
virtual
path
name
of
the
current
process.
Returns
This
function
returns
a
string
that
represents
the
full
executable
path
name
inside
of
the
virtual
environment.
In
most
circumstances,
this
path
is
C:\Program Files\...
,
even
if
the
package
source
runs
from
a
network
share.
Examples
MsgBox "Running EXE path is " + GetCurrentProcessName
Содержание THINAPP 4.6 - MIGRATING APPLICATIONS TECHNICAL NOTE
Страница 38: ...ThinApp User s Guide 38 VMware Inc...
Страница 114: ...ThinApp User s Guide 114 VMware Inc...
Страница 136: ...ThinApp User s Guide 136 VMware Inc...
Страница 140: ...ThinApp User s Guide 140 VMware Inc...
Страница 146: ...ThinApp User s Guide 146 VMware Inc...