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

Description

Sets the package property


Syntax

SetPackagePriority(ByVal name As StringByVal version As StringByVal Type As StringByVal priority As IntegerAs 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) 



 

  • No labels