DSCResources/cApplication/cApplication.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[ClassVersion("1.0.0"),FriendlyName("cApplication")]
class cApplication : OMI_BaseResource
{
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [Key] string Name;
  [required] string InstallerPath;
  [write] string ProductId;
  [write] string InstalledCheckFilePath;
  [write] string InstalledCheckScript;
  [write] boolean Fuzzy;
  [write] boolean NoRestart;
  [write] string Arguments;
  [write] string ArgumentsForUninstall;
  [write] string WorkingDirectory;
  [write] boolean UseUninstallString;
  [write,EmbeddedInstance("MSFT_Credential")] string Credential;
  [write] uint32 ReturnCode[];
  [write] uint32 ProcessTimeout;
  [write] uint32 DownloadTimeout;
  [write] string Version;
  [write] boolean UseSemVer;
  [read] string Publisher;
  [read] string UninstallString;
  [read] boolean Installed;
  [write] string FileHash;
  [write,ValueMap{"SHA1","SHA256","SHA384","SHA512","MD5","RIPEMD160"},Values{"SHA1","SHA256","SHA384","SHA512","MD5","RIPEMD160"}] string HashAlgorithm;
  [write] string PreAction;
  [write] string PostAction;
  [write] string PreCopyFrom;
  [write] string PreCopyTo;
  [write,ValueMap{"None","Minimal","Moderate","All"},Values{"None","Minimal","Moderate","All"}] string LogLevel;
};