/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


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

07/27/2017 2023 views
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

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.
  • No, nothing. I think i'm good with getting it into Kace. I just need the script.
    • 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
      )
      • Do you have a script for Office 2007 ProPlus?... and how do you luanch it?

All Answers

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
Answered 08/01/2017 by: Hobbsy
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
Answered 08/02/2017 by: Pressanykey
Red Belt

Don't be a Stranger!

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

Sign up! or login

View more:

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