/build/static/layout/Breadcrumb_cap_w.png

Why does it not uninstall all of Microsoft Office 2010 when I deploy Office 2013?

I pushed out Microsoft Office 2013 with a Managed Installation with K1000 and it did not uninstall Microsoft Sharepoint Workspace 2010.  It uninstalled all of the rest of the Microsoft Office 2010 Suite.


2 Comments   [ + ] Show comments
  • Hi,
    I am able to install 2013 successfully and uninstalled office 2010 but it still shows sharepoint workspace 2010 and tools and also in programs and features - rsawnani 9 years ago
  • Can someone supply screenshots of you xml, Office file structure and command line options - CEads 9 years ago

Answers (2)

Posted by: chucksteel 9 years ago
Red Belt
1

When I researched this problem I found that the Sharepoint Workspace 2010 was added as part of one of the Office 2010 service packs. Because of that the 2013 installer doesn't remove it when it removes the rest of office. 

My managed install for Office 2013 now runs a script which removes 2010 completely first and then installs 2013 next. Here is the script I'm using:

if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\" (
copy 2010uninstall.xml "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\2010uninstall.xml"
"C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2010uninstall.xml
)
setup.exe /adminfile FullInstallRemovePrevious.msp

The 2010uninstall.xml is based on the XML file you can find in the 2010 ProPlus.WW folder (for the Professional Plus version of Office 2010).
 

Comments:
  • Do you have this set up in a "Managed Installation" or as a script? If it is a script, can you show me how you have yours set up? - tsienkiewicz@ldirx.com 9 years ago
    • It's a managed install. I include the script in my zip file and have the managed install execute the script using the configure manually option. - chucksteel 9 years ago
      • Where do you find the xml file? I am not showing it in my system. - tsienkiewicz@ldirx.com 9 years ago
      • It's part of the Office installation files. For my version of Office (Professional Plus) it's in the ProPlus.ww folder. - chucksteel 9 years ago
      • When I go to that folder, there is a file named ProPlus.ww.xml. Is that what you are talking about because I do not see a file named 2010uninstall.xml? - tsienkiewicz@ldirx.com 9 years ago
      • Sorry, I should have been more specific. There's a config.xml file which I copied and renamed 2010uninstall.xml so I knew what it was in my archive. - chucksteel 9 years ago
      • OK, I found the config file that you were talking about. Now I am trying to figure out how you made the script for this:
        if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\" (
        copy 2010uninstall.xml "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\2010uninstall.xml"
        "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2010uninstall.xml
        )
        setup.exe /adminfile FullInstallRemovePrevious.msp

        What kind of file do you use to put the script in? - tsienkiewicz@ldirx.com 9 years ago
      • The file is just a batch file. I called mine install.bat. - chucksteel 9 years ago
      • Under the Configure Manually Option, do you have the install.bat or something else? I do appreciate all of the help. - tsienkiewicz@ldirx.com 9 years ago
      • For configure manually I just have the install.bat. Also be sure to check the box for "Don't prepend msiexec". Another thing to keep in mind is that my msp file for the 2013 installation is named FullInstallRemovePrevious.msp. Be sure to update the install.bat to reflect the name of your msp file that you made for the administrative install. My zip of the Office 2013 installation includes multiple msp files so we can make distributions that will behave differently. - chucksteel 9 years ago
      • OK, I tried it this morning and it popped up a box asking if I want to remove Office 2010 from my computer. What do you think I am missing? - tsienkiewicz@ldirx.com 9 years ago
      • I also clicked to cancel the removal of Office 2010 and then it looked like it was about to install 2013 and it said that the /adminfile was not found or did not contain any patches. - tsienkiewicz@ldirx.com 9 years ago
      • In the config.xml file you need to configure it to set the display level to none. Mine looks like this:
        <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
        For the adminfile you need to specify the name of the msp file you created for performing an admin install. - chucksteel 9 years ago
      • We are still getting the message asking if we want to remove 2010. This is our install.bat file:
        if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\" (
        copy \\stlsfs1\it\software\microsoft\office\version_2013\2010config.xml "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\2010config.xml"
        "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /config 2010config.xml
        )
        setup.exe /adminfile \\stlsfs1\it\software\microsoft\office\version_2013\updates\OfficeCustomization.msp

        Any ideas? - tsienkiewicz@ldirx.com 9 years ago
      • You can't reference UNC paths in a managed install because the install runs as system which typically doesn't have access to network resources. All of the files should be included in the zip that you upload. I'm guessing that since it can't access the referenced xml file it uses the defaults which is an interactive uninstall. - chucksteel 9 years ago
      • We tried to run it manually and it gave the same error. This was done outside of KACE. - tsienkiewicz@ldirx.com 9 years ago
      • What does your 2010config.xml file look like? - chucksteel 9 years ago
      • <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="IfNeeded" /> -->

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

        </Configuration> - tsienkiewicz@ldirx.com 9 years ago
      • You need to uncomment this line:
        <!-- <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> -->

        It should look like this:
        <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> - chucksteel 9 years ago
      • OK, now the uninstall is working great, but it does not deploy Office 2013. - tsienkiewicz@ldirx.com 9 years ago
      • Where did you put your msp file? - tsienkiewicz@ldirx.com 9 years ago
      • I have my msp file in the same directory as setup.exe. - chucksteel 9 years ago
      • So, I am still not able to get the 2013 to install. I have it set to 3 attempts. It uninstalls 2010, reboots, and then just sits there. It has not even moved on to attempt 2 of 3. Any ideas? - tsienkiewicz@ldirx.com 9 years ago
      • Add the following line to your 2010config.xml file:
        <Setting Id="SETUP_REBOOT" Value="Never" />

        That will suppress the reboot after 2010 uninstalls. - chucksteel 9 years ago
      • IT WORKED!!! Thank you so much for you time and help. - tsienkiewicz@ldirx.com 9 years ago
      • Chuck - I am trying to use your bat file to first remove Office 2010 but I am not able to find the config.xml in that folder. All I have in there is 2 other files Proplusww.xml and setup.xml. Can i copy and user the file from the 2013pro\proplus.ww folder? How did you also deal with x64 systems? since the scriot is only looking at your x86.

        Thanks - bozadmin 9 years ago
      • The config.xml file is part of the Office 2010 installation not the 2013. When we deployed 2013 we had very few 64bit machines so we handled them separately. - chucksteel 9 years ago
      • Gotcha. Thank you! - bozadmin 9 years ago
      • So, we rolled out Office 2013 on top of 2010 about 6 months ago before realizing 2010 was not completely uninstalled. I am now trying to use this method to uninstall both 2010 and 2013, then re-install 2013 with updates included. The uninstall.xml works with each one individually, but I can't get both to uninstall from a Kace distribution. Below is the batch I'm trying. It works when run on the local machine, but not as part of my zip uploaded to Kace. I also tried splitting it into separate batches for each uninstall before calling the Office2013.msp but that didn't work either. Tried “Don’t Prepend msiexec.exe” both on and off… Any ideas?
        if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\" (
        copy 2010uninstall.xml "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\2010uninstall.xml"
        "C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config 2010uninstall.xml
        )
        if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE15\Office Setup Controller\" (
        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
        )
        setup.exe /adminfile Office2013.msp - harvey263 9 years ago
Posted by: harvey263 9 years ago
White Belt
0

So, we rolled out Office 2013 on topof 2010 about 6 months ago before realizing 2010 was not completelyuninstalled.  I am now trying to use this method to uninstall both2010 and 2013, then re-install 2013 with updates included.  The uninstall.xmlworks with each one individually, but I can't get both to uninstall from a Kacedistribution.  Below is the batch I'm trying.  It works when run onthe local machine, but not as part of my zip uploaded to Kace.  Ialso tried splitting it into separate batches for each uninstall beforecalling the Office2013.msp but that didn't work either.  Tried “Don’tPrepend msiexec.exe” both on and off… Any ideas?

if exist "C:\Program Files\Common Files\MicrosoftShared\OFFICE14\Office Setup Controller\" (
copy 2010uninstall.xml "C:\Program Files\Common Files\MicrosoftShared\OFFICE14\Office Setup Controller\2010uninstall.xml"
"C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office SetupController\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config2010uninstall.xml
)
if exist "C:\Program Files\Common Files\Microsoft Shared\OFFICE15\OfficeSetup Controller\" (
copy 2013uninstall.xml "C:\Program Files\Common Files\MicrosoftShared\OFFICE15\Office Setup Controller\2013uninstall.xml"
"C:\Program Files\Common Files\Microsoft Shared\OFFICE15\Office SetupController\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config2013uninstall.xml
)
setup.exe /adminfile Office2013.msp


Comments:
  • Check your downloads folder to make sure that the paths are correct. If you created the zip by compressing the folder then that will be part of the structure when unzipped and your batch file needs to include that in the paths. - chucksteel 9 years ago
    • I created the zip by compressing the folder contents. I have deployed it successfully if my batch only has one "if exist" uninstall command. It's when I add a second statement for an additional "if exist" (either 2010 or 2013) that nothing happens. In other words, it works fine if my batch only removes one Office installation, but not if I add a second. - harvey263 9 years ago
 
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