/build/static/layout/Breadcrumb_cap_w.png

Deploying Office 2016 does not uninstall Office 2013?

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

Answers (2)

Posted by: chucksteel 5 years ago
Red Belt
1
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
GOTO REBOOT
:64BIT
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
GOTO REBOOT
:REBOOT
shutdown -r -t 00
GOTO :INSTALL
:INSTALL
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" /> -->
</Configuration>

Posted by: rileyz 5 years ago
Red Belt
0
Heres another Office nuke script, if you need one.
https://github.com/OfficeDev/Office-IT-Pro-Deployment-Scripts/tree/master/Office-ProPlus-Deployment/Remove-PreviousOfficeInstalls

Actually produced from Redmound too.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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