Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


Copies a Package in a Root Point.


CopyPackage(ByVal name As String, ByVal version As String, ByVal Type As String, ByVal newName As String, ByVal newVersion As String) As Boolean


PackageName (String)

The name of the package.

PackageVersion (String)

The package Version.

PackageType (String)

The package type;

  • 1 (Computer) 
  • 2 (User)

newName (String)

The new name of the package.

newVersion (String)

The new version of the package.

Return value

Boolean. The function returns True if successful, otherwise false.


Script(s) will not be updated accordingly with the new version number


Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.CopyPackage("Winrar","v3.0","1","WinrarCopy","v4.0") 

Available from

CapaInstaller 5.4, build 100


  • No labels