GetPackage method does not return usable data
|Article:TECH199689|||||Created: 2012-11-13|||||Updated: 2013-10-15|||||Article URL http://www.symantec.com/docs/TECH199689|
Altiris.ASDK.Agent.PackageServerAgentLib Get Packages does not return data that can be used. Instead errors occur if you attempt to interrogate the data contained in the returned object.
If the sample script (Agent Package Server.vbs) is run on a package server the vbs error, "The remote procedure call failed" is returned. Other errors are returned in other situations but always when trying to read the object returned by the Packages method.
The underlying code on the Package Server object returns incorrectly formatted data.
This has been addressed in the package server agent for 7.5.
Article URL http://www.symantec.com/docs/TECH199689