Browse Source

fix to include SysWOW64 for OneDriveSetup.exe

pull/32/head
tumpio 9 years ago
parent
commit
d45d54af60
  1. 4
      scripts/remove-onedrive.ps1

4
scripts/remove-onedrive.ps1

@ -9,8 +9,8 @@ echo "Remove OneDrive"
if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") {
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall
}
if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") {
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall
if (Test-Path "$env:systemroot\SysWOW64\OneDriveSetup.exe") {
& "$env:systemroot\SysWOW64\OneDriveSetup.exe" /uninstall
}
echo "Removing OneDrive leftovers"

Loading…
Cancel
Save