Skip to content

Rebuild kit on Management Point

Rebuilds CapaInstaller.kit file on all Management Servers in the given Management Point. The function sets an action for the assigned Replicator to perform

Public Function RebuildKitFileOnPoint(ByVal packageName As String, ByVal packageVersion As String, ByVal packageType As String, ByVal pointID As Integer) As Boolean

PackageName (String)

The name of the package.

PackageVersion (String)

The package Version.

PackageType (String)

The package type;

  • 1 (Computer)
  • 2 (User)

PointID(Integer)

The ID of the management point to rebuild the kit file on.

The package is looked up on the current management point. Call Set instance management point first to select it.

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

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetInstanceManagementPoint("1")
wscript.echo oCMS.RebuildKitFileOnPoint("Acrobat Reader","v8.0","1",2)