Skip to content

Commit

Permalink
Update templates about AllowAvailableUninstall
Browse files Browse the repository at this point in the history
Signed-off-by: kenchan0130 <[email protected]>
  • Loading branch information
kenchan0130 committed Jun 12, 2024
1 parent c589fea commit 00c9159
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 26 deletions.
5 changes: 3 additions & 2 deletions template/App.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"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"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
Expand Down Expand Up @@ -102,4 +103,4 @@
"UseLocalTime": true
}
]
}
}
8 changes: 4 additions & 4 deletions template/Samples/App_DetectionRule_Registry_Existence.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "",
"UninstallCommand": "",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Registry",
Expand All @@ -39,4 +39,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "",
"UninstallCommand": "",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Registry",
Expand All @@ -40,4 +40,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "",
"UninstallCommand": "",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Registry",
Expand All @@ -40,4 +40,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "",
"UninstallCommand": "",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Registry",
Expand All @@ -40,4 +40,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}
8 changes: 4 additions & 4 deletions template/Samples/App_DetectionRule_Script.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "",
"UninstallCommand": "",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Script",
Expand All @@ -37,4 +37,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}
8 changes: 4 additions & 4 deletions template/Samples/App_EXE.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"InstallCommand": "Setup.exe /s",
"UninstallCommand": "Uninstall.exe /s",
"InstallExperience": "system \\ user",
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow"
"DeviceRestartBehavior": "suppress \\ force \\ basedOnReturnCode \\ allow",
"AllowAvailableUninstall": "false \\ true"
},
"RequirementRule": {
"MinimumRequiredOperatingSystem": "W10_1809",
"Architecture": "All \\ x64 \\ x86"
},
"CustomRequirementRule": [
],
"CustomRequirementRule": [],
"DetectionRule": [
{
"Type": "Script",
Expand All @@ -37,4 +37,4 @@
"PromptBehavior": "Always \\ Auto \\ Never",
"ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547"
}
}
}

0 comments on commit 00c9159

Please sign in to comment.