Hi everyone,
My company is planning to migrate to Office 365. Currently they have a variety of scenarios within their environment (x86/x64 Office versions, Office 2013/2016/2019, Pro/Std). Most of the Office suites have been installed using Click to Run installer and some of them using MSI installer.
What I am looking for is a solution (tool, script, ...) to programmatically remove older Click to Run based Office versions, regardless of the version and architecture of the application
I found a solution for the scenarios where the Office version has been installed using MSI, by using RemoveMSI in the configuration xml file : https://learn.microsoft.com/en-us/deployoffice/upgrade-from-msi-version
I have made a lot of research for the other scenarios where Office versions have been installed using Click to Run installer. Microsoft recommends two ways to uninstall these versions: manually uninstall through Control Panel or using MSRO tool (SetupProd_OffScrub.exe). It works but it is not applicable to me because I have more than 2500 devices to migrate.
Below are my investigations:
- Using Remove-PreviousOfficeInstalls.ps1 from https://github.com/OfficeDev/Office-IT-Pro-Deployment-ScriptsUnfortunately, Development has stopped.
- Using Command-line version of Microsoft Support and Recovery Assistant : Not applicable as Full GUI Version is required to uninstall older Office versions (https://learn.microsoft.com/en-us/office365/troubleshoot/administration/sara-command-line-version)"Multiple Office products found Exit the scenario 08: Multiple Office versions were found. Please use the full SaRA version."
- Tried to launch UninstallString value from Registry Key from Cmd Prompt (as Admin): "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=install scenariosubtype=ARP sourcetype=None productstoremove=Standard2019Volume.16_en-us_x-none culture=en-us version.16=16.0 but nothing happens.
Maybe I am missing something about how Click-to-Run works. Let me know if this is the case. One again, I am looking for support for migrating Office 2013/2016/2019 to Office 365.
Thanks in advance for your help