Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

BlPackage - createPackageFromDepotObject

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).

We recommend you use a similar command, createPackageFromDepotObjectByTypeString , to perform this action. This command returns a handle to the newly created package and can be used as input to commands that need a handle to the package.

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.

Example

See createPackageFromSnapshot for a related example.

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

Comments