EasyManua.ls Logo

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 - Capture Application to SVS Layer

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
174 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...
WiseScript Editor Reference 50
WiseScript Actions
}
To call the function NewEmployee from an installation script, you add six parameters in
the Call DLL Function dialog box: the three elements of the first structure, the integer,
and the two elements of the second structure.
To add parameters, see DLL Parameter Settings on page 47.
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 65.
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 65 and Find SVS Layer GUID on page 84.
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.
Parameter in the C function Parameter type in
WiseScript
Passing Type in
WiseScript
name (first element of
EMPLOYEE structure)
string pointer First element of a
structure
salary (second element of
EMPLOYEE structure)
long Contained within
structure
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

Table of Contents

Related product manuals