OfficeDev / Office-IT-Pro-Deployment-Scripts

A collection of useful PowerShell scripts to make deploying Office 2016 and Office 365 ProPlus easier for IT Pros and administrators. If you have any feature requests or ideas for future scripts please add the idea to the issues list in this repository
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts
MIT License
888 stars 840 forks source link

Remove-PreviousOfficeInstalls.ps1 Issues #264

Open KibagamiJubei opened 7 years ago

KibagamiJubei commented 7 years ago

Hello, thank you again for the wonderful work. I've been using this script for a little while now, but there are 3 issues that are stopping me from production release:

I am ready to assist with any information you require to fix it.

AStigall commented 7 years ago

@KibagamiJubei I have pushed a fix for detecting 2003 installations. Can you see if it the newest scripts will detect and remove 2003 products now?

kevinblumenfeld commented 7 years ago

oh nice! I will check it out too! thank you!

AStigall commented 7 years ago

@kevinblumenfeld We have pushed fixes recently to detect 2003 installs, Lync, and have added the Office2013Setup.exe where needed.

As for your other issue, does it work if you run the scripts with the execution policy set to Unrestricted or Bypass?

pretzer commented 7 years ago

@AStigall We are facing the same problem at the moment: Office 365 ProPlus is installed on the machine and the script does not detect it, prints out that no Office versions have been found. Office 2016 MSI is uninstalled correctly. Can you reproduce with the latest Deferred Channel build (1705)? We tried running with Bypass and Unrestricted. Thank you. Best regards Peter