Previous Topic

Next Topic

Book Contents

Scripts folder

In this folder Application Vault searches scripts participating in the deployment of applications from AV Repository on a domain, in uninstalling them from the domain, and in reconfiguring them as well. The names of the scripts and their quantity are fixed in the Application Vault constants file. It is proposed that the scripts are called within the listed procedures in the following order.

Script

Use

Description

 

preinstall

optional

Is called from within the installation procedure after AV has obtained the application parameters from the user, but before the TAR archive file is unpacked to a domain.

 

postinstall

optional

Is called from within the installation procedure after the TAR archive file is unpacked on a domain. This script is used to make modifications to the configuration file of the application deployed on the domain. If executed correctly, the script returns '0', otherwise it returns an error (any non-zero value), though the application is registered on the domain OK anyway.

 

reconfigure

optional

Is called from within the reconfiguration procedure after AV has obtained the new application parameters from the user. This script modifies the configuration file of the application deployed on the domain.

 

preuninstall

optional

Is called from within the uninstall procedure before the application files are deleted from the domain.

 

postuninstall

optional

Is called from within the uninstall procedure after the application files are deleted from the domain.

 

preupgrade

not used

The script is reserved for future use.

 

postupgrade

not used

The script is reserved for future use.

See Also

Installation Package

Forms folder

Apps folder

Info folder

Docs folder

Uninstall folder

Screenshots folder