Set Package Property
Description
Sets the package property
Syntax
SetPackagePriority(ByVal name As String, ByVal version As String, ByVal Type As String, ByVal priority As Integer) As Boolean
Parameters
PackageName (String)
The name of the package.
PackageVersion (String)
The package Version.
PackageType (String)
The package type;
- 1 (Computer)Â
- 2 (User)
Priority(Integer)
The priorityof the Package, Default is 500
Return Value
Boolean. The function returns true or false
ExampleÂ
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.SetPackagePriority("Winrar","v3.0","1",501)
Â