/build/static/layout/Breadcrumb_cap_w.png

Uninstall Office - Install program on another server

I am a newbie, and my office has not set up training yet.  I have 50 computers that I need to update Office, so I'm trying to figure this out on my own.

First, our program setup files reside on a server in the programs folder.  We will call this server server1.  For Office 2007 Pro, I used 7zip to zip up the Office2007 folder, and called the file name office2007.7z, located in \\server1\programs\office2007\office2007.7z.

After checking the version by inventorying the computers, I then associated this office2007.7z file with the Microsoft Office Professional Plus 2007 on the K1000.

I then tested my uninstall script on one of the computers.  I mapped a drive to \\server1\programs - z:, and then ran the following:  z:\office2007\setup.exe /uninstall PROPLUS /dll OSETUP.DLL.  It uninstalled the program.

I then created a Uninstall Office 2007 Pro script on the K1000, where the uninstall part of the script is:

      <launch_program path="z:\office2007" program="setup.exe" wait="true" parms="/uninstall PROPLUS /dll OSETUP.DLL" />

I know it is running on the computer because I am getting notified, but it is not uninstalling and I am not getting any messages or errors.  What am I doing wrong?  And can we associate a program with a program that resides on another server?

Thanks in advance for your help!  This will save me so much time!


0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 7 years ago
Red Belt
1
By default, most deployment systems - including KBoxes, unless you specify otherwise - use the local System account to run programs. This account has no access to network resources so you'll need to copy the package locally and execute it from there.

Comments:
  • Thanks for your quick reply! I changed the script to <launch_program path="&quot;c:\program files (x86)\common files\microsoft shared\office12\office setup controller&quot;" program="setup.exe" wait="true" parms=" /config uninstalloffice.xml /uninstall PROPLUS /dll OSETUP.DLL" />, and it uninstalls! The only problem is that I'm getting an error code of 0 and status code of 3010. Ideas? In my xml, I do say never to restart the computer. Could that be the problem? - Janet 7 years ago
Posted by: JasonEgg 7 years ago
Red Belt
1
FYI, this article helped me a lot with removing various versions of Office: https://blogs.technet.microsoft.com/odsupport/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products/
Posted by: anonymous_9363 7 years ago
Red Belt
1
Error code 0 means 'success', i.e. setup.exe executed and returned no errors. Status code 3010 means that a reboot is required.

Have a look in the log (MS Office set-up stubs always produce a log)  to find out why the reboot's required. Depending on the reason, you can choose to ignore it or action the reboot at some other time.
Posted by: jonsnow 7 years ago
Green Belt
0
i also face with the similar situation in my case i reboot my sysytem

Don't be a Stranger!

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

Sign up! or login

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