allow uninstall of Edge, EdgeUpdate, and WebView

This commit is contained in:
h3r0 2023-11-19 13:40:01 +00:00 committed by GitHub
parent 607c6f13d3
commit 562365b6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@ actions:
# - !file: {path: "%ProgramFiles(x86)%\\Microsoft\\EdgeUpdate", weight: 10}
# - !file: {path: "%ProgramFiles(x86)%\\Microsoft\\EdgeCore", weight: 10}
# Allow uninstall of Edge, EdgeUpdate and WebView
- !registryValue: {path: 'HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge', value: 'NoRemove', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update', value: 'NoRemove', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView', value: 'NoRemove', type: REG_DWORD, data: '0'}
# OneDrive
- !writeStatus: {status: "Removing OneDrive", option: "remove-onedrive"}
- !taskKill: {name: "OneDriveStandaloneUpdater", option: "remove-onedrive"}