WiseScript Package Editor Reference
129
WiseScript Actions
Capture Application to SVS Layer
This SVS script action captures an application to a virtual software layer. You can use
this script action to update a layer by adding the files that are installed by an .EXE.
(Example: If you have a layer for Microsoft Word, you could create a WiseScript that
installs Word templates. You could use the Capture Application to SVS Layer script
action to capture the templates installed by the WiseScript .EXE and to add these
templates to the Word layer.)
You can add an application to an existing layer or to a layer that the WiseScript creates.
See
Create SVS Layer
on page 144.
When a WiseScript that contains this script action runs, it runs the .EXE you specify and
captures its installation. You can use this script action to capture an .MSI by running
msiexec.exe.
To complete the dialog box
z
Layer GUID
Enter the layer’s GUID (globally unique identifier) or a variable that represents the
layer’s GUID. If you enter the layer’s GUID, do not include the { } brackets.
For information on creating a variable for a layer’s GUID, see
Create SVS Layer
on
page 144 and
Find SVS Layer GUID
on page 164.
z
Program path
Specify the path and file name of the .EXE. When the WiseScript runs, it executes
the .EXE and captures whatever it installs. To capture an .MSI, enter the path to
msiexec.exe. You can use WiseScript variables.
z
Parameters
(Optional) Enter parameters for running the .EXE. If you specified .msiexec.exe in
Program path, use Windows Installer command-line options. You can use these
command-line options to create a WiseScript that captures an application by
performing a silent installation of an .MSI. Example: /package “C:\Application.msi” /
qn.
z
Return variable
(Optional.) Enter a name for the return variable. When this script action runs
successfully, either 0 or 1 is placed in this variable.
See also:
About SVS Script Actions
on page 117
title (third element of
EMPLOYEE structure)
string buffer
(buffer length of 50)
Contained within
structure
int
long
Normal
deptname (first element of
DEPARTMENT structure)
string pointer
First element of a
structure
deptnum (second element of
DEPARTMENT structure)
string pointer
Contained within
structure
Parameter in the C function
Parameter type in
WiseScript
Passing Type in
WiseScript
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...