The configuration file deployment.xml defines commands to be run after a service package is deployed. The file must be called deployment.xml, and must be included in the service package.
The file must be included at the top level of the service package—it cannot be in a subdirectory. There can only be one file per service package.
<Deployment><install><osTypes><osType name="NTX86" startCmd="setup" timeout="600" successCodes="0,1,2"/><osType name="LINUX86" startCmd="install" timeout="100" successCodes="-1:10"/></osTypes></install><uninstall><osTypes><osType name="NTX86" startCmd="setup -u" timeout="30" successCodes=0/><osType name="LINUX86" startCmd="uninstall" timeout="34" successCodes="0"/></osTypes></uninstall></Deployment>
Optional. Use the install section to configure commands to run after the package is uncompressed on a compute host.
Optional. Use the uninstall section to configure commands to run if the startCmd specified in the install section fails, or before the package is removed from a compute host.