BlPackage - createPackageFromDepotObject_1

BlPackage - createPackageFromDepotObject

Description :

This command creates a BLPackage based on a depot object. The package will include the information needed to deploy the specified depot object (software, files, and so on). It also lets you specify the single-user mode and reboot settings.

This command returns a handle to the newly created package. This handle can be used as input to commands that need a handle to the package.

We recommend you use a similar command, createPackageFromDepotObjectByTypeString , to perform this action.

You can set the singleUserMode argument to one of the following strings:

  • NotRequired: Not Required
  • RevertTo: Use single-user mode without reboot
  • RebootAs: Reboot into single-user mode

You can set the rebootMode argument to one of the following strings:

  • NotRequired: Not required
  • AfterDeploy: After item deployment
  • AfterDeployWithReconfiguration: After item deployment with reconfiguration (Solaris ONLY)
  • OutOfBand: Out-of-band
  • AtJobEnd: By end of job
  • AtJobEndWithReconfigration: By end of job with reconfiguration (Solaris ONLY)

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

packageName

String

Name of the package.

groupId

Integer

ID of a group that should contain the package.

bSoftLinked

Boolean

True to create a package soft linked to the depot object resources, false otherwise.

bCollectFileAcl

Boolean

True to package the file ACLs, false otherwise.

bCollectFileAttributes

Boolean

True to package the file attributes, false otherwise.

bCopyFileContents

Boolean

True to package the file contents, false otherwise.

bCollectRegistryAcl

Boolean

True to package the registry ACLs, false otherwise.

depotObjectKey

DBKey

Reference to the depot object.

depotObjectType

Integer

Integer representation of the depot object type.

singleUserMode

String

The single-user mode.

rebootMode

String

The reboot mode.

Example

See createPackageFromDepotObjectByTypeString for a related example.

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

Comments