Software Deployment Question

Deploying Office 2016 does not uninstall Office 2013?

10/25/2018 2525 views
I deployed Office 2016 to machines which still have office 2013 using this guide (but using KACE Manage Installs to deploy it) : https://support.pdq.com/knowledge-base/1237

In the MSP file I made sure to select in the "Remove previous installations" section the "Default setup behaviour, earlier versions of installed programs are removed"

After the msp file was fully setup, I zipped all the files, including the msp, and then associated the files to office 2016, and did a mange install with the Override default installation option and wrote "setup.exe /adminfile office-setup.MSP" in the Full command line field. When this manage install is deployed to machines with office 2013, after it is completed they still both have Office 2013 AND Office 2016.

How could I fix this issue?
0 Comments   [ + ] Show comments


Community Chosen Answer

Some of the components of Office 2016 won't get removed by the 2016 installer. Here is the script that we use for our managed install of 2016:
if exist "C:\Program Files (x86)\Common Files\microsoft shared\OFFICE15\Office Setup Controller\" GOTO 64BIT
copy 2013uninstall.xml "C:\Program Files\Common Files\microsoft shared\OFFICE15\Office Setup Controller\2013uninstall.xml"
"C:\Program Files\Common Files\microsoft shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2013uninstall.xml
copy 2013uninstall.xml "C:\Program Files (x86)\Common Files\microsoft shared\OFFICE15\Office Setup Controller\2013uninstall.xml"
"C:\Program Files (x86)\Common Files\microsoft shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2013uninstall.xml
shutdown -r -t 00
setup.exe /adminfile FullInstallRemovePrevious.msp
And here is the 2013uninstall.xml file referenced in the script:
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> -->
<!-- <USERNAME Value="Customer" /> -->

<!-- <COMPANYNAME Value="MyCompany" /> -->

<!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->

<!-- <LIS CACHEACTION="CacheOnly" /> -->

<!-- <LIS SOURCELIST="\\server1\share\Office;\\server2\share\Office" /> -->

<!-- <DistributionPoint Location="\\server\share\Office" /> -->

<!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->

<Setting Id="SETUP_REBOOT" Value="Never" />

<!-- <Command Path="%windir%\system32\msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->

Answered 10/26/2018 by: chucksteel
Red Belt

All Answers

Heres another Office nuke script, if you need one.

Actually produced from Redmound too.
Answered 10/26/2018 by: rileyz
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ