-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathApp.json
69 lines (69 loc) · 2.39 KB
/
App.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"PackageInformation": {
"SetupType": "MSI \\ EXE",
"SetupFile": "Setup.exe",
"SourceFolder": "Source",
"OutputFolder": "Package",
"IconFile": "Icon.png"
},
"Information": {
"DisplayName": "AppName 1.0.0",
"Description": "Installs AppName 1.0.0",
"Publisher": "AppVendor",
"Notes": "AppNote"
},
"Program": {
"InstallCommand": "<-- Only required when SetupType is set as EXE -->",
"UninstallCommand": "<-- Only required when SetupType is set as EXE -->",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"DetectionRule": [
{
"Type": "Registry",
"DetectionMethod": "VersionComparison",
"KeyPath": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\123",
"ValueName": "DisplayVersion",
"Operator": "greaterThanOrEqual",
"Value": "1.0.0",
"Check32BitOn64System": "false"
},
{
"Type": "Registry",
"DetectionMethod": "Existence",
"KeyPath": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\123",
"ValueName": "<reg_value_name>",
"DetectionType": "exists \\ notExists",
"Check32BitOn64System": "false \\ true"
},
{
"Type": "MSI",
"ProductCode": "<guid>",
"ProductVersionOperator": "notConfigured \\ equal \\ notEqual \\ greaterThanOrEqual \\ greaterThan \\ lessThanOrEqual \\ lessThan",
"ProductVersion": "1.0.0"
},
{
"Type": "MSI",
"ProductCode": "<guid>",
"ProductVersionOperator": "notConfigured",
"ProductVersion": ""
},
{
"Type": "Script",
"ScriptFile": "detection.ps1",
"EnforceSignatureCheck": "true \\ false",
"RunAs32Bit": "true \\ false"
}
],
"TenantInformation": {
"Name": "tenant.onmicrosoft.com",
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}