DepotSoftware - addInstallShieldPackageToDepotByGroupName_1

DepotSoftware - addInstallShieldPackageToDepotByGroupName

Description :

This command adds an InstallShield installer and the associated response files to the Depot with the URL mounting options. To add an InstallShield installer without having to specify the URL mounting options, use addInstallShieldPackageToDepotByGroupName .

Use the urlTypeName argument to indicate the name of the deployable URL type. urlTypeName can be one of the following:

  • FILE_SERVER: Upload source to file server. When you use this option, you cannot use property references in the source location.
  • AGENT_COPY_AT_STAGING: Copy to agent at staging.
  • AGENT_MOUNT: Agent mounts source for direct use at deployment (no local copy).

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Full path to the depot group containing the installer.

softwareLocation

String

Location of the software package you are adding. This can be either a fully qualified NSH path or a network URL.

name

String

Display name of the installer.

supportFileLocationList

com.bladelogic.om.infra.cli.helper.StringList

Comma-separated list of paths to the install and uninstall response files (in that order).

supportFileTypeList

com.bladelogic.om.infra.cli.helper.StringList

Comma-separated list of URL type values, corresponding to the install and uninstall response files, respectively. If a value is "0", then that response file is an ordinary file or NSH path that will be copied by the application server to the target. If a value is "1", then that response file is an SMB, NFS or NSH URL for a file that will be copied by the application server to the target. If a value is "3", then that response file is an SMB, NFS or NSH URL for a file that will be fetched by the target as needed. No other values are supported.

skipParamSub

com.bladelogic.om.infra.cli.helper.StringList

Comma-separated list of boolean (true/false) values, corresponding to the install and uninstall response files, respectively. If a value is true, parameter substitution will be skipped for that response file.

skipCopySource

Boolean

True means do not copy source to undo directory. False means copy source to undo directory.

urlTypeName

String

The deployable URL type name.

Example

The following example shows how to add an InstallShield package and its response (.iss) files to the Depot. Note that the location can only be a fully qualified NSH path to the InstallShield package (for example, //host/path/to/package/installer.exe).

Script


DEPOT_GROUP=/installshield 

IS_LOC=//filestore1/installshield/custom-db-1.1.0.exe 

IS_INST_LOC=//filestore1/installshield/custom-db-intstall.iss 

IS_UNINST_LOC=//filestore1/installshield/custom-db-uninstall.iss 

IS_SUPP_FILES=$IS_INST_LOC,$IS_UNINST_LOC 

IS_NAME="Install Custom db" 

`blcli DepotSoftware addInstallshieldPackageToDepotByGroupName $DEPOT_GROUP $IS_LOC $IS_NAME $IS_SUPP_FILES` 



Was this page helpful? Yes No Submitting... Thank you

Comments