DepotSoftware - addCustomSoftwareToDepotByGroupName
DepotSoftware - addCustomSoftwareToDepotByGroupName
Description :
This command adds a custom software package to the depot.
Use the OSType argument to specify the operating system for the custom software package. OSType can be one of the following values:
- Windows
- Solaris
- Linux
- HP-UX
- AIX
- None
Use the customSoftwareType argument to specify the type of software package. The following is a list of all valid custom software types:
- SQL Server 2000 Enterprise Edition
- SQL Server 2000 Service Pack 1
- SQL Server 2000 Service Pack 2
- SQL Server 2000 Service Pack 3
- Exchange 2000 Service Pack
- Sun ONE Web Server
- BMC Patrol Agent
- BEA WebLogic Server 8.1
- BEA WebLogic Server 7.0
- Microsoft Security Template
- Compaq/HP BIOS Update
- Dell BIOS Update
- Custom Software
Use the installCmd and unInstallCmd arguments to specify install and uninstall commands. If you do not specify install or uninstall commands, the default install or uninstall commands for the specified type of custom software package will be used.
If the installation/uninstallation procedure for the software package requires a support file, you must include a parameter that references the support file in the install/uninstall command. You must include this parameter in the paramSupportNameList argument, and specify the location of the support file that this parameter references in the supportFileList argument.
If the installation/uninstallation procedure requires more than one support file, you can use a comma separated string in both the paramSupportNameList argument and the supportFileList argument. Make sure that the order of the parameters in paramSupportNameList corresponds to the order of support file locations in supportFileList.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | Fully qualified path to the depot group in which you want to store your custom software package. |
OSType | String | Type of operating system. |
customSoftwareType | String | Type of custom software. |
softwareLocation | String | Fully qualified NSH path to the custom software. |
name | String | Display name of the custom software. This is the name that will appear within the BMC BladeLogic graphical user interface. |
description | String | Description of the custom software. |
installCmd | String | Install command. |
unInstallCmd | String | Uninstall command. |
paramSupportNameList | com.bladelogic.om.infra.cli.helper.StringList | One or more parameter names that reference support files required by the install and/or uninstall commands. You must include the locations of these files in the supportFileList argument. Separate multiple parameters with commas. |
supportFileList | com.bladelogic.om.infra.cli.helper.StringList | Fully qualified NSH path(s) to the support file(s) referenced by the parameters listed in the paramSupportNameList argument. Separate multiple paths with commas. |
Example
The following example shows how to add a custom software package:
Script
DepotSoftware addCustomSoftwareToDepotByGroupName /tstDepotGroup "Windows" "BEA WebLogic Server 7.0" "//engwin2k3agt1/c/temp/beaInstall.exe" "myTestCustomSoftware" "desc" "" "" "_RESPONSEFILE" "//engwin2k3agt1/c/temp/beaResponse.txt"