The Actions section contains program calls for installation and uninstallation (removal).
The Actions section can have the following entries:
|
Install=Program_call[,Return_code[,Timeout]] |
|
|
|
|
|
ErrInstall=Program_call |
|
|
|
|
|
Deinstall=Program_call[,Return_code[,Timeout]] |
|
|
|
|
Note: You can enter only one program call per line. To call more than one program, enter these programs in the corresponding section of actions.sxp.
Specifies the program call that is executed during product installation.
If you define an Install action, then you must also define a Deinstall action. The Deinstall action can be a dummy action such as the following:
cmd.exe /c echo deinstall
Specifies the program call that is executed if the product installation is faulty.
Specifies the program call that is executed during product uninstallation.
Notes:
Program_call
Specifies the absolute program path for the program call (including file name extension *.exe, *.bat, *.com). Since the path may contain Blanks (spaces), you need to enclose it in quotation marks!
Specifies the expected return code for a successful installation or uninstallation. This value is compared with the actual return code from the installation (or uninstallation) program of the product being installed (or uninstalled).
If the expected return code is not identical to the actual return code, the Installer aborts the job and reports an error.
If you do not specify the return code, the Installer will not be able to compare the actual and expected return codes and therefore is not able to report errors during the execution of the Install and Deinstall commands.
You should always specify the return code, because the Installer assumes that the installation or uninstallation is successful if the timeout expires and no return code was specified.
Indicates the number of minutes that can elapse without the started program terminating. If the program continues running, an attempt is made to stop this program. The stop process results in a procedure error.
Default: 60.
You should always use this parameter together with the return code parameter (described above) to help detect faulty installations or uninstallations.
| Copyright © 2014 CA Technologies. All rights reserved. |
|