Rebuild kit on Management Point
Description
Section titled “Description”Rebuilds CapaInstaller.kit file on all Management Servers in the given Management Point. The function sets an action for the assigned Replicator to perform
Syntax
Section titled “Syntax”Public Function RebuildKitFileOnPoint(ByVal packageName As String, ByVal packageVersion As String, ByVal packageType As String, ByVal pointID As Integer) As Boolean
Parameters
Section titled “Parameters”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.
Return value
Section titled “Return value”Boolean. The function returns True if successful, otherwise false.
Example 1
Section titled “Example 1”Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.RebuildKitFileOnPoint("Acrobat Reader","v8.0","1",2)