Disable Package Schedule
Description
Section titled “Description”Disable the schedule for a Package if a schedule is set
Syntax
Section titled “Syntax”DisablePackageSchedule(ByVal packageName As String, ByVal packageVersion As String, ByVal packageType As String) 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)
Return value
Section titled “Return value”Boolean. The function returns True if successful, otherwise false.
Example
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.DisablePackageSchedule("Acrobat Reader","v8.0","1")