diff --git a/docs/app.md b/docs/app.md index b6c7d761..04d0bc6a 100644 --- a/docs/app.md +++ b/docs/app.md @@ -46,7 +46,8 @@ Here's an example `App.json` for Adobe Acrobat Reader DC: "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-1033-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/docs/install.md b/docs/install.md index 68797721..fd450cba 100644 --- a/docs/install.md +++ b/docs/install.md @@ -10,7 +10,8 @@ The use of `Install.ps1` is defined in `Program.InstallCommand` section in the ` "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-1033-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, ``` diff --git a/docs/intunewin32.md b/docs/intunewin32.md index d3636069..7b2dff68 100644 --- a/docs/intunewin32.md +++ b/docs/intunewin32.md @@ -83,7 +83,8 @@ This block contains the desired program information of a Win32 app. InstallComma "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" } ``` diff --git a/packages/App/AdobeAcrobatReaderDC/App.json b/packages/App/AdobeAcrobatReaderDC/App.json index 102459bf..647276ef 100644 --- a/packages/App/AdobeAcrobatReaderDC/App.json +++ b/packages/App/AdobeAcrobatReaderDC/App.json @@ -29,7 +29,8 @@ "InstallCommand": "Deploy-Application.exe -DeploymentType \"Install\" -DeployMode \"Silent\"", "UninstallCommand": "Deploy-Application.exe -DeploymentType \"Uninstall\" -DeployMode \"Silent\"", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/AdobeAcrobatReaderDCMUI/App.json b/packages/App/AdobeAcrobatReaderDCMUI/App.json index 165c0583..f94c1cbb 100644 --- a/packages/App/AdobeAcrobatReaderDCMUI/App.json +++ b/packages/App/AdobeAcrobatReaderDCMUI/App.json @@ -29,7 +29,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-FF00-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/AdobeAcrobatReaderDCMUIVDI/App.json b/packages/App/AdobeAcrobatReaderDCMUIVDI/App.json index 20e8a22c..06da03bc 100644 --- a/packages/App/AdobeAcrobatReaderDCMUIVDI/App.json +++ b/packages/App/AdobeAcrobatReaderDCMUIVDI/App.json @@ -30,7 +30,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-FF00-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/AppleMobileDeviceSupport/App.json b/packages/App/AppleMobileDeviceSupport/App.json index 7ad3c31a..dbf7b297 100644 --- a/packages/App/AppleMobileDeviceSupport/App.json +++ b/packages/App/AppleMobileDeviceSupport/App.json @@ -24,7 +24,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{2B3CA448-5266-480F-85FA-2FCCB3C8712C}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Audacity/App.json b/packages/App/Audacity/App.json index b2430247..20ff9818 100644 --- a/packages/App/Audacity/App.json +++ b/packages/App/Audacity/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\Program Files\\Audacity\\unins000.exe\" /VERYSILENT", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/CitrixWorkspaceAppCurrent/App.json b/packages/App/CitrixWorkspaceAppCurrent/App.json index 77d6d51a..99539944 100644 --- a/packages/App/CitrixWorkspaceAppCurrent/App.json +++ b/packages/App/CitrixWorkspaceAppCurrent/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/CitrixWorkspaceAppLTSR/App.json b/packages/App/CitrixWorkspaceAppLTSR/App.json index 239cda47..5f29cf1a 100644 --- a/packages/App/CitrixWorkspaceAppLTSR/App.json +++ b/packages/App/CitrixWorkspaceAppLTSR/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/ConnectWiseControl/App.json b/packages/App/ConnectWiseControl/App.json index 7bb9bac4..2948507e 100644 --- a/packages/App/ConnectWiseControl/App.json +++ b/packages/App/ConnectWiseControl/App.json @@ -24,7 +24,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{CBF0B9B6-05FF-4D3A-B0EA-EDA3438E941F}\" /qn", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Cyberduck/App.json b/packages/App/Cyberduck/App.json index 9cdd7e79..8a14d72c 100644 --- a/packages/App/Cyberduck/App.json +++ b/packages/App/Cyberduck/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{8FF1F756-1F7C-41C1-880E-B03218DFDD72}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/FoxitReader/App.json b/packages/App/FoxitReader/App.json index a589288d..559f15ef 100644 --- a/packages/App/FoxitReader/App.json +++ b/packages/App/FoxitReader/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{F398C64A-E282-11EC-8A9F-54BF64A63C26}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/GoogleChrome/App.json b/packages/App/GoogleChrome/App.json index 9be07f29..3b9b332c 100644 --- a/packages/App/GoogleChrome/App.json +++ b/packages/App/GoogleChrome/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Greenshot/App.json b/packages/App/Greenshot/App.json index 13af5d86..7c1a1301 100644 --- a/packages/App/Greenshot/App.json +++ b/packages/App/Greenshot/App.json @@ -29,7 +29,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/ImageCustomise/App.json b/packages/App/ImageCustomise/App.json index 06bfa4b2..d2dcc135 100644 --- a/packages/App/ImageCustomise/App.json +++ b/packages/App/ImageCustomise/App.json @@ -28,7 +28,8 @@ "InstallCommand": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy RemoteSigned -File .\\Install-Defaults.ps1", "UninstallCommand": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy RemoteSigned -File .\\Remove-Defaults.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/ImageGlass/App.json b/packages/App/ImageGlass/App.json index 715ae10b..fb80b1f9 100644 --- a/packages/App/ImageGlass/App.json +++ b/packages/App/ImageGlass/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{15872342-C9E9-4C65-9586-35B4EFDB806B}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/LenovoThinkPadHotkey/App.json b/packages/App/LenovoThinkPadHotkey/App.json index 8c654e50..65a77b06 100644 --- a/packages/App/LenovoThinkPadHotkey/App.json +++ b/packages/App/LenovoThinkPadHotkey/App.json @@ -23,7 +23,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/LenovoVantageService/App.json b/packages/App/LenovoVantageService/App.json index ae015d79..f631b88e 100644 --- a/packages/App/LenovoVantageService/App.json +++ b/packages/App/LenovoVantageService/App.json @@ -22,7 +22,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -40,4 +41,4 @@ "Dependencies": [], "Supersedence": [], "Assignments": [] -} \ No newline at end of file +} diff --git a/packages/App/LogAnalyticsSecrets/App.json b/packages/App/LogAnalyticsSecrets/App.json index d7ab96cc..1a94b956 100644 --- a/packages/App/LogAnalyticsSecrets/App.json +++ b/packages/App/LogAnalyticsSecrets/App.json @@ -24,7 +24,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Save-LogSecrets.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Remove-LogSecrets.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Microsoft.NETLTS/App.json b/packages/App/Microsoft.NETLTS/App.json index 600b0774..901fead2 100644 --- a/packages/App/Microsoft.NETLTS/App.json +++ b/packages/App/Microsoft.NETLTS/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{089A177D-98AE-4195-A115-D3C45613B875}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Microsoft.NETSTS/App.json b/packages/App/Microsoft.NETSTS/App.json index 040651af..e2eb3ff3 100644 --- a/packages/App/Microsoft.NETSTS/App.json +++ b/packages/App/Microsoft.NETSTS/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{089A177D-98AE-4195-A115-D3C45613B875}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftAzurePipelinesAgent/App.json b/packages/App/MicrosoftAzurePipelinesAgent/App.json index f5411b54..46ca00c5 100644 --- a/packages/App/MicrosoftAzurePipelinesAgent/App.json +++ b/packages/App/MicrosoftAzurePipelinesAgent/App.json @@ -2001,7 +2001,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftEdge/App.json b/packages/App/MicrosoftEdge/App.json index 2181313f..1aab871d 100644 --- a/packages/App/MicrosoftEdge/App.json +++ b/packages/App/MicrosoftEdge/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftEdgeWebView2/App.json b/packages/App/MicrosoftEdgeWebView2/App.json index 932cbf8e..37bf69b7 100644 --- a/packages/App/MicrosoftEdgeWebView2/App.json +++ b/packages/App/MicrosoftEdgeWebView2/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftFSLogixApps/App.json b/packages/App/MicrosoftFSLogixApps/App.json index 5fa602da..48367719 100644 --- a/packages/App/MicrosoftFSLogixApps/App.json +++ b/packages/App/MicrosoftFSLogixApps/App.json @@ -38,7 +38,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{089A177D-98AE-4195-A115-D3C45613B875}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftOneDrive/App.json b/packages/App/MicrosoftOneDrive/App.json index 48c7ec97..67e582c8 100644 --- a/packages/App/MicrosoftOneDrive/App.json +++ b/packages/App/MicrosoftOneDrive/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftOneDriveVDI/App.json b/packages/App/MicrosoftOneDriveVDI/App.json index 2c9f0a7c..ae2f049a 100644 --- a/packages/App/MicrosoftOneDriveVDI/App.json +++ b/packages/App/MicrosoftOneDriveVDI/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftPowerShell/App.json b/packages/App/MicrosoftPowerShell/App.json index 69ace6ae..5b518c43 100644 --- a/packages/App/MicrosoftPowerShell/App.json +++ b/packages/App/MicrosoftPowerShell/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftPowerToys/App.json b/packages/App/MicrosoftPowerToys/App.json index cec3fe02..720167e0 100644 --- a/packages/App/MicrosoftPowerToys/App.json +++ b/packages/App/MicrosoftPowerToys/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftSsmsEnu/App.json b/packages/App/MicrosoftSsmsEnu/App.json index c26508e8..3839213c 100644 --- a/packages/App/MicrosoftSsmsEnu/App.json +++ b/packages/App/MicrosoftSsmsEnu/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{03FFD0DE-C109-45D1-9C19-C010A02CFC73}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftSupportCenter/App.json b/packages/App/MicrosoftSupportCenter/App.json index 31b114e9..1d2bd3f1 100644 --- a/packages/App/MicrosoftSupportCenter/App.json +++ b/packages/App/MicrosoftSupportCenter/App.json @@ -22,7 +22,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{C8466986-8B41-46C3-9DEE-853951EEE23E}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -67,4 +68,4 @@ "Notification": "showAll" } ] -} \ No newline at end of file +} diff --git a/packages/App/MicrosoftTeams/App.json b/packages/App/MicrosoftTeams/App.json index b510f961..9c615cfe 100644 --- a/packages/App/MicrosoftTeams/App.json +++ b/packages/App/MicrosoftTeams/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{731F6BAA-A986-45A4-8936-7C3AAAAA760B}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftTeamsVDI/App.json b/packages/App/MicrosoftTeamsVDI/App.json index bafba42b..860a90bd 100644 --- a/packages/App/MicrosoftTeamsVDI/App.json +++ b/packages/App/MicrosoftTeamsVDI/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftVcRedist2012x64/App.json b/packages/App/MicrosoftVcRedist2012x64/App.json index 4b916416..8932c1fb 100644 --- a/packages/App/MicrosoftVcRedist2012x64/App.json +++ b/packages/App/MicrosoftVcRedist2012x64/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\\vcredist_x64.exe\" /uninstall /quiet /noreboot", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -59,4 +60,4 @@ "RestartNotificationSnooze": 240 } ] -} \ No newline at end of file +} diff --git a/packages/App/MicrosoftVcRedist2012x86/App.json b/packages/App/MicrosoftVcRedist2012x86/App.json index 0c1e4da1..af6fe9cc 100644 --- a/packages/App/MicrosoftVcRedist2012x86/App.json +++ b/packages/App/MicrosoftVcRedist2012x86/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\\vcredist_x86.exe\" /uninstall /quiet /noreboot", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -59,4 +60,4 @@ "RestartNotificationSnooze": 240 } ] -} \ No newline at end of file +} diff --git a/packages/App/MicrosoftVcRedist2013x64/App.json b/packages/App/MicrosoftVcRedist2013x64/App.json index 58593ae1..5290f588 100644 --- a/packages/App/MicrosoftVcRedist2013x64/App.json +++ b/packages/App/MicrosoftVcRedist2013x64/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{042d26ef-3dbe-4c25-95d3-4c1b11b235a7}\\vcredist_x64.exe\" /uninstall /quiet /noreboot", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -59,4 +60,4 @@ "RestartNotificationSnooze": 240 } ] -} \ No newline at end of file +} diff --git a/packages/App/MicrosoftVcRedist2013x86/App.json b/packages/App/MicrosoftVcRedist2013x86/App.json index 71614826..6e92bf16 100644 --- a/packages/App/MicrosoftVcRedist2013x86/App.json +++ b/packages/App/MicrosoftVcRedist2013x86/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{9dff3540-fc85-4ed5-ac84-9e3c7fd8bece}\\vcredist_x86.exe\" /uninstall /quiet /noreboot", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", @@ -59,4 +60,4 @@ "RestartNotificationSnooze": 240 } ] -} \ No newline at end of file +} diff --git a/packages/App/MicrosoftVcRedist2022x64/App.json b/packages/App/MicrosoftVcRedist2022x64/App.json index 780bfa99..28c9f134 100644 --- a/packages/App/MicrosoftVcRedist2022x64/App.json +++ b/packages/App/MicrosoftVcRedist2022x64/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{5af95fd8-a22e-458f-acee-c61bd787178e}\\VC_redist.x64.exe\" /uninstall /quiet /norestart", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftVcRedist2022x86/App.json b/packages/App/MicrosoftVcRedist2022x86/App.json index d26e49be..3219a16d 100644 --- a/packages/App/MicrosoftVcRedist2022x86/App.json +++ b/packages/App/MicrosoftVcRedist2022x86/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "\"C:\\ProgramData\\Package Cache\\{47109d57-d746-4f8b-9618-ed6a17cc922b}\\VC_redist.x86.exe\" /uninstall /quiet /norestart", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftVisualStudioCode/App.json b/packages/App/MicrosoftVisualStudioCode/App.json index ef62534f..dbd553c9 100644 --- a/packages/App/MicrosoftVisualStudioCode/App.json +++ b/packages/App/MicrosoftVisualStudioCode/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-1033-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MicrosoftWvdRemoteDesktop/App.json b/packages/App/MicrosoftWvdRemoteDesktop/App.json index 2771e097..5eac11db 100644 --- a/packages/App/MicrosoftWvdRemoteDesktop/App.json +++ b/packages/App/MicrosoftWvdRemoteDesktop/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{435AF226-840F-49ED-8F03-4B1356F7740F}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MimecastOutlookx64/App.json b/packages/App/MimecastOutlookx64/App.json index 2e6d39c5..b4df76c5 100644 --- a/packages/App/MimecastOutlookx64/App.json +++ b/packages/App/MimecastOutlookx64/App.json @@ -24,7 +24,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{83F8DF4E-C625-4DCD-93A3-DE063BC32D49}\" /quiet /log \"C:\\ProgramData\\PackageFactory\\logs\\MimecastOutlook.log\"", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MimecastOutlookx86/App.json b/packages/App/MimecastOutlookx86/App.json index 7177597f..85ef3710 100644 --- a/packages/App/MimecastOutlookx86/App.json +++ b/packages/App/MimecastOutlookx86/App.json @@ -24,7 +24,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{83F8DF4E-C625-4DCD-93A3-DE063BC32D49}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/MozillaFirefox/App.json b/packages/App/MozillaFirefox/App.json index 6a494bf9..a73fb0db 100644 --- a/packages/App/MozillaFirefox/App.json +++ b/packages/App/MozillaFirefox/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe /S", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/Notepad++/App.json b/packages/App/Notepad++/App.json index bbbab911..592508c8 100644 --- a/packages/App/Notepad++/App.json +++ b/packages/App/Notepad++/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/PaintDotNetOfflineInstaller/App.json b/packages/App/PaintDotNetOfflineInstaller/App.json index 9dccc19c..a2c43b57 100644 --- a/packages/App/PaintDotNetOfflineInstaller/App.json +++ b/packages/App/PaintDotNetOfflineInstaller/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{E56D2CED-CCAE-4902-A559-17B452752DA5}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/RemoteDisplayAnalyzer/App.json b/packages/App/RemoteDisplayAnalyzer/App.json index 5d691cfb..a8c710e3 100644 --- a/packages/App/RemoteDisplayAnalyzer/App.json +++ b/packages/App/RemoteDisplayAnalyzer/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/TrackerSoftwarePDFXChangeEditor/App.json b/packages/App/TrackerSoftwarePDFXChangeEditor/App.json index d7781fb9..7c779f42 100644 --- a/packages/App/TrackerSoftwarePDFXChangeEditor/App.json +++ b/packages/App/TrackerSoftwarePDFXChangeEditor/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{2B1A32F0-ABD0-42C4-A123-7CC642AA3B5E}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/VideoLanVlcPlayer/App.json b/packages/App/VideoLanVlcPlayer/App.json index ce8b3ad7..dff908ad 100644 --- a/packages/App/VideoLanVlcPlayer/App.json +++ b/packages/App/VideoLanVlcPlayer/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "MsiExec.exe /X \"{1BB20266-7C52-4909-B075-22156F75D22C}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/ZoomMeetings/App.json b/packages/App/ZoomMeetings/App.json index c59aa212..67546395 100644 --- a/packages/App/ZoomMeetings/App.json +++ b/packages/App/ZoomMeetings/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/App/ZoomRooms/App.json b/packages/App/ZoomRooms/App.json index 9fc1580e..48cb0cb3 100644 --- a/packages/App/ZoomRooms/App.json +++ b/packages/App/ZoomRooms/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "suppress" + "DeviceRestartBehavior": "suppress", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/Update/AdobeAcrobatReaderDCMUIx64/App.json b/packages/Update/AdobeAcrobatReaderDCMUIx64/App.json index 0342f6f6..ddc089a7 100644 --- a/packages/Update/AdobeAcrobatReaderDCMUIx64/App.json +++ b/packages/Update/AdobeAcrobatReaderDCMUIx64/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"AdobeAcrobatReaderDCMUIUpdates\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/Update/AdobeAcrobatReaderDCMUIx86/App.json b/packages/Update/AdobeAcrobatReaderDCMUIx86/App.json index b401b597..8ce1b3b3 100644 --- a/packages/Update/AdobeAcrobatReaderDCMUIx86/App.json +++ b/packages/Update/AdobeAcrobatReaderDCMUIx86/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"AdobeAcrobatReaderDCMUIUpdates\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/Update/MicrosoftVisualStudioCode/App.json b/packages/Update/MicrosoftVisualStudioCode/App.json index 62959794..1f35aab5 100644 --- a/packages/Update/MicrosoftVisualStudioCode/App.json +++ b/packages/Update/MicrosoftVisualStudioCode/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{AC76BA86-1033-1033-7760-BC15014EA700}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/Update/MicrosoftWvdRemoteDesktop/App.json b/packages/Update/MicrosoftWvdRemoteDesktop/App.json index c34f4881..855d19c9 100644 --- a/packages/Update/MicrosoftWvdRemoteDesktop/App.json +++ b/packages/Update/MicrosoftWvdRemoteDesktop/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "msiexec.exe /X \"{435AF226-840F-49ED-8F03-4B1356F7740F}\" /quiet", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/packages/Update/ZoomMeetings/App.json b/packages/Update/ZoomMeetings/App.json index 42bda381..db4f0887 100644 --- a/packages/Update/ZoomMeetings/App.json +++ b/packages/Update/ZoomMeetings/App.json @@ -28,7 +28,8 @@ "InstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Install.ps1", "UninstallCommand": "powershell.exe -ExecutionPolicy Bypass -NonInteractive -WindowStyle Hidden -File .\\Uninstall.ps1", "InstallExperience": "system", - "DeviceRestartBehavior": "basedOnReturnCode" + "DeviceRestartBehavior": "basedOnReturnCode", + "AllowAvailableUninstall": "false" }, "RequirementRule": { "MinimumRequiredOperatingSystem": "W10_1809", diff --git a/scripts/Create-Win32App.ps1 b/scripts/Create-Win32App.ps1 index 4c6e9cad..56f30bbc 100644 --- a/scripts/Create-Win32App.ps1 +++ b/scripts/Create-Win32App.ps1 @@ -478,6 +478,9 @@ process { if (-not([System.String]::IsNullOrEmpty($AppData.Program.UninstallCommand))) { $Win32AppArgs.Add("UninstallCommandLine", $AppData.Program.UninstallCommand) } + if (-not([System.String]::IsNullOrEmpty($AppData.Program.AllowAvailableUninstall))) { + $Win32AppArgs.Add("AllowAvailableUninstall", $AppData.Program.AllowAvailableUninstall) + } if ($PSBoundParameters["Validate"]) { if (-not([System.String]::IsNullOrEmpty($Win32AppArgs["Icon"]))) { 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 +}