From 00c9159081d4f4d2251cac013590221440633c8a Mon Sep 17 00:00:00 2001 From: kenchan0130 Date: Wed, 12 Jun 2024 09:16:49 +0900 Subject: [PATCH] Update templates about AllowAvailableUninstall Signed-off-by: kenchan0130 --- template/App.json | 5 +++-- .../Samples/App_DetectionRule_Registry_Existence.json | 8 ++++---- .../App_DetectionRule_Registry_IntegerComparison.json | 8 ++++---- .../App_DetectionRule_Registry_StringComparison.json | 8 ++++---- .../App_DetectionRule_Registry_VersionComparison.json | 8 ++++---- template/Samples/App_DetectionRule_Script.json | 8 ++++---- template/Samples/App_EXE.json | 8 ++++---- 7 files changed, 27 insertions(+), 26 deletions(-) diff --git a/template/App.json b/template/App.json index 0b41c319..3f55d6ef 100644 --- a/template/App.json +++ b/template/App.json @@ -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", @@ -102,4 +103,4 @@ "UseLocalTime": true } ] -} \ No newline at end of file +} diff --git a/template/Samples/App_DetectionRule_Registry_Existence.json b/template/Samples/App_DetectionRule_Registry_Existence.json index eae66ef8..1df44c5b 100644 --- a/template/Samples/App_DetectionRule_Registry_Existence.json +++ b/template/Samples/App_DetectionRule_Registry_Existence.json @@ -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", @@ -39,4 +39,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +} diff --git a/template/Samples/App_DetectionRule_Registry_IntegerComparison.json b/template/Samples/App_DetectionRule_Registry_IntegerComparison.json index 4d3ddd06..c90ecc14 100644 --- a/template/Samples/App_DetectionRule_Registry_IntegerComparison.json +++ b/template/Samples/App_DetectionRule_Registry_IntegerComparison.json @@ -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", @@ -40,4 +40,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +} diff --git a/template/Samples/App_DetectionRule_Registry_StringComparison.json b/template/Samples/App_DetectionRule_Registry_StringComparison.json index a29f692b..5c88293d 100644 --- a/template/Samples/App_DetectionRule_Registry_StringComparison.json +++ b/template/Samples/App_DetectionRule_Registry_StringComparison.json @@ -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", @@ -40,4 +40,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +} diff --git a/template/Samples/App_DetectionRule_Registry_VersionComparison.json b/template/Samples/App_DetectionRule_Registry_VersionComparison.json index 5fef05cb..4ebcfe9c 100644 --- a/template/Samples/App_DetectionRule_Registry_VersionComparison.json +++ b/template/Samples/App_DetectionRule_Registry_VersionComparison.json @@ -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", @@ -40,4 +40,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +} diff --git a/template/Samples/App_DetectionRule_Script.json b/template/Samples/App_DetectionRule_Script.json index 7d30f2ff..01f02967 100644 --- a/template/Samples/App_DetectionRule_Script.json +++ b/template/Samples/App_DetectionRule_Script.json @@ -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", @@ -37,4 +37,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +} diff --git a/template/Samples/App_EXE.json b/template/Samples/App_EXE.json index ba92a3a0..3b6c6a3a 100644 --- a/template/Samples/App_EXE.json +++ b/template/Samples/App_EXE.json @@ -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", @@ -37,4 +37,4 @@ "PromptBehavior": "Always \\ Auto \\ Never", "ApplicationID": "d1ddf0e4-d672-4dae-b554-9d5bdfd93547" } -} \ No newline at end of file +}