Install and uninstall scripts
Use this panel to include configuration scripts which can run after successfully installing the customized installation package (CIP) or before uninstalling the CIP. Such scripts run when the installation is a new installation. If you are updating an existing installation by installing a CIP that includes maintenance, these scripts do not run.
Install tab
Identify scripts that run after successfully installing the CIP.
Uninstall tab
Identify scripts that run before uninstalling the CIP during a full uninstall.
File name
Identify the script file.
Directory path
Identify the directory where the script file resides.
Failure Action Identify what action to take if a script fails. Valid choices include:
- Fatal error
- Continue
Add Scripts... Opens a file browsing dialog window where you can search for and select scripts to include in the CIP. Scripts can be any of the following supported script types:
- ANT scripts (*.ant)
- Windows batch files (*.bat)
- Shell scripts (*.sh)
- JACL scripts
- Jython scripts
- Jar files
The .jar files should have the main class defined in the META-INF/MANIFEST.MF file inside each .jar file.
Scripts are in the cip_uid_root/config/install directory when the CIP is installed. These scripts run as configuration actions after all of the configuration actions run that are in the normal installation procedure.
Modify...
Select an entry and click Modify to change the file name or the directory path.
Remove
Removes selected scripts from the CIP.
Move Up
Move a script up in the list to make it run earlier than scripts below it.
Move Down
Move a script down in the list to make it run after scripts above it.
Related information
Developing and installing customized installation packages
Installing a CIP
Use scripting (wsadmin)
Build Definition wizard panelsProfile customization
Reference topic