EXECUTE
element specifies an external program to be
executed for post-install setup.
This will execute a program after a package has been installed.
This might be useful if you need to have additional configuration performed which
is not supported by WarpIN keywords directly.
This can only be specified in a
PCK
block and defines that if
the package in which the EXECUTE element appears is selected
for installation, the specified executable will be run.
This element is optional, but can appear more than once per PCK
block.
If several EXECUTE
elements appear, they are processed in the
order in which they are specified.
Syntax:
<EXECUTE EXECFILE="execfile" [PARAMETERS="params"] [CONDITION="{ALWAYS|CONFIGSYS|REGISTERCLASS|CREATEOBJECT}"] />This is an empty element and must therefore be terminated with a
"/"
character.
Attributes:
EXECFILE="execfile"
PATH
, the full path can be ommitted.
execfile
will
be started in a separate session using
"CMD.EXE /C execfile params"
so that you can also
start a REXX script. This attribute gets processed after
all files have been unpacked, so you can specify a program here which is part
of the package that was just unpacked.
This supports macro resolution.
PARAMETERS="params"
CONDITION="{ALWAYS|CONFIGSYS|REGISTERCLASS|CREATEOBJECT}"
CONDITION="ALWAYS"
: no check box will be set, and the program
will always run if the package is selected. This is the default.
CONDITION="CONFIGSYS"
: the program modifies the CONFIG.SYS file.
CONDITION="REGISTERCLASS"
: the program modifies the WPS class list
(by registering and/or replacing classes).
CONDITION="CREATEOBJECT"
: the program creates WPS objects.