Browse Source

Merge pull request #32 from tumpio/patch-2

Fix to include SysWOW64 for OneDriveSetup.exe
pull/33/head
Alex Hirsch 9 years ago
parent
commit
36e941eb23
  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") { if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") {
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall & "$env:systemroot\System32\OneDriveSetup.exe" /uninstall
} }
if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") { if (Test-Path "$env:systemroot\SysWOW64\OneDriveSetup.exe") {
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall & "$env:systemroot\SysWOW64\OneDriveSetup.exe" /uninstall
} }
echo "Removing OneDrive leftovers" echo "Removing OneDrive leftovers"

Loading…
Cancel
Save