Deployment Solution

 View Only

Uninstall Office 2003 and Install Office 2007 

Nov 07, 2008 10:02 AM

More and more people are now using Office 2007. For the IT department installing Office 2007 is a great task that causes days of headaches, long workdays and can be hard to do. So I will try to help you to make the right decisions.

First off all we have to determine our approach.

  1. Uninstall Office 2003 and install Office 2007
  2. Update Office 2003 to Office 2007
  3. Leave 2003 where it is and install Office 2007 Virtual

Uninstall Office 2003 and install Office 2007

To fully uninstall Office 2003 we can start inserting the CD and uninstall it by using Start Run and type appwiz.cpl.

Select Office 2003 and uninstall it.

Now it is asking for the original CD. Insert it, and the uninstall will take place. Do this for all your pc's.

You will notice that this is a lot of work. There are better methods.

First, we copy the original CD to a server and share the software to everyone. Then we go to the pc and we use the following commands.

Start Run, and type in cmd.exe.

Then: net use d: \\servername\sharename Enter

D:\setup.exe /x pro11n.msi /qb Enter

The uninstall will now be done silently. No interruption. Please remember the /x. It is very important in this step because it actually tells the installer to remove the software completely.

If you are that lucky guy who has Deployment Server in place, you can do this remotely. No walking to all machines. Just push the command and it will work.

Now we have to install Office 2007. Again we can do this by taking the cd to all clients, but the better and easiest way is to do this by a script.

So let's see what the script should look like.

First we copy the CD to our share and we share it.

Then we go to start run, and type in cmd.exe

The command is as follows:

net use D: \\servername\sharename Enter

D:\apps\office\2007\setup.exe TRANSFORMS=D:\apps\office\2007\MST\pro.MST /Qb

(The line above is one line)

Again you can use this script easily in your Deployment Server.

Update Office 2003 to Office 2007

We also can leave Office 2003 where it is. Don't uninstall it, just upgrade it to Office 2007. Again the fastest method is to use a script for this one.

And we can use the same script as before:

net use d: \\servername\sharename
Start /wait D:\apps\office\2007\setup.exe TRANSFORMS=D:\apps\office\2007\MST\pro.MST /Qb 

This script will upgrade the existing Office 2003 version into the new version.

For all installation scripts you first have to build an Office.mst that contains all the settings.

You can build this with Office resource kit, also known as ORK.

Be aware that in an upgrade several files of Office 2003 will stay on your machine and that you always have to make sure they are patched also.

Leave 2003 where it is and install Office 2007 Virtual

This is my favorite way.

Just build a clean and lean package of Office. Use Wise Virtual packager editor if available. Office 2007 is one of these packages that is best build by Wise and not with SVSadmin.

Export the package.

Now you have to deploy the package to all your machines.

You can do this again by placing it on a share and create a net use mapping to it, to import it.

Or you deploy it with Deployment Solution.

Make sure you delete the shortcuts to the Office 2003, because it will stay on the system, and can be available to your users. On the other hand, users will love being able to use Office 2003 when they wish because Office 2007 is slightly different.

Now you are ready to go for it and to make everybody happy in using Office 2007.

Have fun with it!

Regards
Erik Westhovens

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
jpg file
6147.jpg   3 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Mar 19, 2009 01:22 AM

What you said is true. But in case you want to uninstall Office 2003 alone [not upgrading to 2007], the above script will do it for you.

While creating a patch [MSP] for Office 2007 installation, you have an option to uninstall previous versions if exists. This takes care fo uninstalling Office 2003. 

 

Mar 16, 2009 08:07 PM

Why would you use the command line if the new package does that automatically for you?

Mar 11, 2009 07:43 AM

You can actually use the following vbscript to uninstall Office 2003 using PRODUCT CODE.

https://www-secure.symantec.com/connect/downloads/uninstall-windows-installer-applications-using-vbscript

Once you have the product code ready, use it in the vbscript and run to uninstall the application.

 

 

Feb 13, 2009 06:54 AM

Hi,
Why not to use msiexec /x {Product GUID} /q
to uninstall Office 2003.
We use this to run a task on the Client PCs from the task server.
Removal command can be found in registry or from Inventory in AeX OS Add Remove Programs
Andrey

Feb 06, 2009 05:01 PM

You can create multiple MSP files to install or uninstall applications..
but make sure you don't place the MSP in the "Update" Directory..
I made that mistake the very first time I decide that I wanted one MSP to fully install Office.. then second MSP to just instll Word...
Any MSP file that is placed in the "Updates" Folder will be run.. since my office MSP was labeled Office.msp it ran first. then it ran the WordOnly.MSp
removing the previous one..
Create directory labeled "MSP" place those scripts there just point your install to that file..
ex.
"\\altiris\Office2007\setup.exe" /adminfile MSPs\office.msp /config Enterprise.WW\config.xml
"\\altiris\Office2007\setup.exe" /adminfile MSPs\wordonly.msp /config Enterprise.WW\config.xml

Nov 11, 2008 05:08 PM

Create an Install MSP for the app you want to uninstall ie Excel.msp using the setup/admin console and then run the command line with the uninstall switch
HTH C

Nov 11, 2008 03:03 PM

I am doing an MSP install already... and yes it shows up in add/remove...
I know i can uninstall manually, i'm worried about doing it remotely via a cmd line.
right now i install using: setup /adminfile mspfile.msp
if i want to say uninstall just excel from the whole suite i just installed, how would i do that in a cmd line? I know i can go in manually and do it from the add/remove, but that's way too much work.
I also know i can just not include it in my install... I can't do that either... this is more for having an uninstall for one package of the suite if i need it, without doing it manually.
THanks

Nov 11, 2008 11:26 AM

I have heard if you use an msp install you have to completely uninstall the program prior to being able to modify the install at all. Is the program not in add/remove programs or programs and features? As far as installing it without a set program I think you have to create an msp (not sure, always used the msp which automates the install for us). To do this run the setup.exe file with the switch -admin.

Nov 11, 2008 11:01 AM

Does anyone know how to UNINSTALL Office2007 or maybe just one portion (say only word or excel) of Office2007? I can do this for Office2003 with the Custom Maintenance Wizard, but can't find where to accomplish this in Office2007.
Thanks
Jeff

Nov 10, 2008 04:00 AM

EriK,
Nice article.
We just can't create TRANSFORMS [MST] in MS Office 2007. We can only create a patch [MSP] using inbuilt Office Customization Tool [OCT]. For more information on Office 2007 packaging please visit the article http://juice.altiris.com/article/4097/office-2007-silent-installation-lessons-learned

Nov 09, 2008 10:52 PM

Very nice look at office deployment. We are currently doing the office deployment and this should help us quite a bit. Thank you for sharing!

Nov 09, 2008 04:02 AM

ORK doesn't exist for office 2007 as it did for office 2003 at least not as a standalone app. As Gary_L says above you need the office 2007 cd and you need to run setup with the admin switch.
you then create different transform files,place them in the "upgrades" folder and then specify them in your command line. you can also auto update to office 2007 SP1 just by placing it in the upgrades folder.
HTH C

Nov 07, 2008 11:25 PM

Nice article...
Also - you can use 'setup.exe /admin' to bring up the Office Customization Tool which gives you a great interface to customize your install. This creates an .msp file which you drop in the 'Updates' folder along with any other Office update .msp files. These files will then all be applied during setup.
and recommended reading - http://juice.altiris.com/article/3101/virtualizing-microsoft-office-a-handy-collection-tips

Related Entries and Links

No Related Resource entered.