/build/static/layout/Breadcrumb_cap_w.png

Help with Script to uninstall any version of MS Office, and how to incorporate into K1000

I am new to the K1000 and not a script writer, but i have been given this project to prep our users for Office 365. We have a mix of 2007 and 2010, and 2013 versions. Any assistance would be helpful.

2 Comments   [ + ] Show comments
  • Have you found out anything regarding this? I am also in the same boat as you. Prepping for Office 365 and would like to create a silent uninstall for Office 2013 Standard. - nick.horvath 6 years ago
  • No, nothing. I think i'm good with getting it into Kace. I just need the script. - jarie 6 years ago
    • So If you can assist with getting this into KACE, I have a script. I ran this batch file from my desktop and it was successful in uninstalling MS Office 2013 from my desktop

      @ REM 2013
      IF EXIST %CommonProgramFiles%\Microsoft Shared\OFFICE15\ (
      "C:\Program Files\Common Files\microsoft shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall standard /config "\\appserver\Install\Microsoft\Office 2013 Std\Uninstall\config.xml"
      Echo Office 2013 Removed
      ) ELSE (
      Echo Office 2013 is not currently installed
      ) - nick.horvath 6 years ago
      • Do you have a script for Office 2007 ProPlus?... and how do you luanch it? - jarie 6 years ago

Answers (2)

Posted by: Hobbsy 6 years ago
Red Belt
0
So this is not something we have looked at but if I look at your comments, I hope my thoughts help. 

If you can get a method of removing office for each version i.e. the script above, you should be able to set up a single script in KACE that says logically...

Task 1 - Verify - is Office 2007 installed?

On success - Run script to remove 2007

Task 2 - Verify - is Office 2010 installed?

On Success - Run Script to remove 2010

Task 3 

On Success - Run script to remove 2013

If you want it less complex create three scripts one for each version using the steps above, but create smart labels to sort machines with 2007, 2010 and 2013 and set the script to remove 2007 at the 2007 label etc
Posted by: Pressanykey 6 years ago
Red Belt
0
Hi,

Take a look here... as I use the PSAppDeploy as a wrapper, I incorperate this into my deployment...
Remove Previous Versions

It takes care of removing any previous versions, regardless what..

Cheers
Phil
 
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