DSCResources/MSFT_xPackageResource/MSFT_xPackageResource.schema.mof

 
[ClassVersion("1.0.0"),FriendlyName("xPackage")]
class MSFT_xPackageResource : OMI_BaseResource
{
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [Key] string Name;
  [required] string Path;
  [Key] string ProductId;
  [write] string Arguments;
  [write,EmbeddedInstance("MSFT_Credential")] string Credential;
  [write] uint32 ReturnCode[];
  [write] string LogPath;
  [read] string PackageDescription;
  [read] string Publisher;
  [read] string InstalledOn;
  [read] uint32 Size;
  [read] string Version;
  [read] boolean Installed;
  [write,EmbeddedInstance("MSFT_Credential")] string RunAsCredential;
  [write] string InstalledCheckRegKey;
  [write] string InstalledCheckRegValueName;
  [write] string InstalledCheckRegValueData;
};