Get log
Description
Returns a log for a unit package relation.
Syntax
GetLog(Byval UnitName as String, Byval UnitType as String, Byval PackageName as String, Byval PackageVersion as String, Byval PackageType as String) as String
Parameters
UnitName (String)
The name of the unit
UnitType (String)
The type of the unit
PackageName (String)
The name of the package
PackageVersion (String)
The version of the package
PackageType (String)
The package type;
- "1" (Computer)Â
- "2" (User)
Return value
If successfull, the function returns the logfile from the installation of the specified package for the specified unit
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.GetLog("Client","Computer","Winrar","v3.0","1")
 Â