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
Answers (2)
Please log in to answer
Posted by:
Hobbsy
7 years ago
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
7 years ago
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
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
@ 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 7 years ago