/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Single package in SCCM 2007 to uninstall any version of MS office

05/30/2012 9419 views

I have assigned a task to uninstall the MS office from all the client systems. I searched for command line & found command as “<Setup location>\setup.exe /uninstall <product ID>”.  Now the situation is that I have multiple versions of MS office installed across all my client systems. So I have some questions as bellow, need you help into this ……………..

  1. If multiple version available on the client, is there any variable available (Which can be used in place of Product ID) to uninstall any product of MS office installed
  2. Do we have to use a separate package for all the respective MS office versions to uninstall or we can use a single uninstall package of higher version i.e. MS office 2010.

I want a single MS office uninstall package which can uninstall any version of MS office installed.

Thanks in advance!


Regards satyendra

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

2

Write a VBScript which will uninstall your MS OFFICE from your client system if it exist..

I mean, you have to write a VBScript with following algorithm


If Exist (Version=95) Then
 Uninstall MSOffice 95
ElseIf Exist (Version=97) Then
 Uninstall MSOffice 97
ElseIf Exist (Version=2000) Then
 Uninstall MSOffice 2000
ElseIf Exist (Version=XP) Then
 Uninstall MSOffice XP
ElseIf Exist (Version=2003) Then
 Uninstall MSOffice 2003
ElseIf Exist (Version=2007) Then
 Uninstall MSOffice 2007
ElseIf Exist (Version=2010) Then
 Uninstall MSOffice 2010
End If

Answered 06/04/2012 by: jagadeish
Red Belt

All Answers

0
MSOffice 95 , MSOffice 97, MSOffice 2000, MSOffice XP and  MSOffice 2003 are not supporting any new OSversion of windows from vista onwards. consider only MSOffice 2007, MSOffice 2010 and MSOffice 2013 these versions. 
Make a vbscript, implement conditions if exist these version of MS Office  and unistall with offscrub.vbs .

http://blogs.technet.com/b/odsupport/archive/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products.aspx
http://blogs.technet.com/b/odsupport/archive/2014/11/03/how-to-uninstall-office-2010-and-move-to-office-2013-click-to-run-or-volume-license.aspx
https://gist.github.com/CHEF-KOCH/7872799

Answered 04/28/2015 by: vjay
Second Degree Blue Belt

 
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