Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Remove-PreviousOfficeInstalls issue #338

Open
Admaine opened this issue Oct 10, 2018 · 1 comment
Open

Remove-PreviousOfficeInstalls issue #338

Admaine opened this issue Oct 10, 2018 · 1 comment

Comments

@Admaine
Copy link

Admaine commented Oct 10, 2018

Hi Everyone,

I hope you can help.

I'm in the process of setting up a script via GPO to detect what version of office is installed and remove (using the Remove-PreviousOfficeInstalls.ps1 file) and then install Office 365. The install part of this is working perfectly however, I now have an issue whereby after it detects the version of office and attempts to uninstall it provides the error

Input Error: Can not find script file "C:\Windows\OffScrub_O15msi.vbs".

The Offscrub files required are in the same location as the script so I'm not entirely sure why it's looking for it in C:\Windows

Is anyone able to help please?

Thanks in advance.

@davegreen
Copy link
Contributor

Are you running this on Windows 7 (PowerShell v2) by any chance?

I had similar issues, which is fixed with a small edit in the following PR #342.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants