Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

The priorityof the Package, Default is 500

Return Value

Boolean. The function returns true or false


Example 

Code Block
languagevb
themeEclipse
titleVBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.SetPackagePriority("Winrar","v3.0","1",501) 

...