Get log
Description
Section titled “Description”Returns a log for a unit package relation.
Syntax
Section titled “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
Section titled “Parameters”UnitName (String)
The name of the unit, or the UUID of the unit
UnitType (String)
The type of the unit
- “Computer”
- “User”
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
Section titled “Return value”String. The function returns the log file from the installation of the specified package on the specified unit. If the package isn’t linked to the unit, the function returns an empty string.
Example
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.GetLog("Client","Computer","Winrar","v3.0","1")