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!
Answers (4)
Comments:
-
Thanks for your quick reply! I changed the script to <launch_program path=""c:\program files (x86)\common files\microsoft shared\office12\office setup controller"" 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
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.