Link to home
Start Free TrialLog in
Avatar of Bianchi928
Bianchi928

asked on

Uninstall Office 2007 and install 2003

I need a fair bit of help to write a script that will do the following (in GPO startup). Some of the computer are on Windows 7 and some on Windows XP Professional. Some computers have
Office 2007, some Office 2003 & some both Office 2003 & 2007

1) If only Office 2003 is installed quit script.
2) If only Office 2007 is installed , uninstall all of it and on completetion install Office 2003.
3) If both Office 2007 & 2003 are installed, uninstall only Office 2007.

Thanks
Avatar of merowinger
merowinger
Flag of Germany image

Somthing like this?

You've to insert the Office 2007 Installer Guid and the Path to the Office 2003 Installer File
@echo off

rem ***************************************************************
rem Uninstall Office 2007 *****************************************
rem ***************************************************************

If Exist "%PROGRAMFILES%\Microsoft Office\Office12\Outlook.EXE"
(
msiexec /X {PRODUCT GUID} /qb
)


rem ***************************************************************
rem Install Office 2003 *****************************************
rem ***************************************************************

If Not Exist "%PROGRAMFILES%\Microsoft Office\Office11\Outlook.EXE"
(
msiexec /i <Path To MSI> /qb
)


Exit /b 0

Open in new window

Avatar of Bianchi928
Bianchi928

ASKER

Okay . My question is....

2007

1. Is the GUID for Excel, Word, Powerpoint etc unique & the same on all computers with 2007 installed ?

2003

2. Where can I get the Installer file (msi) for 2003 ?
3. Is there a way to install only Excel, Word & Powerpoint ?
1. Yes, if you've installed the same Office 2007 Version on all Clients (like Office 2007 Prof.)

2. Don't you have source files for Office 2003? What do you have exaclty?

3. Yes, there's a tool called Office Installation Wizard with which you can create a custom Installation
http://office.microsoft.com/en-us/office-2003-resource-kit/custom-installation-wizard-HA001140170.aspx
Hi,

Okay. I'm happy with reply for question 1 .

As for Office 2003, I have the cd's for both Standard & Professional.
So do you Need any further help?
Okay..I've got the removal of 2007 all under control. I need further help for installing customized Office 2003. which only Excel, Powerpoint & word. The link you gave me doesn't explain much..

Thanks
I've installed ORK and now from the Resource Kit and I can run the Custom Installation Wizard. It's asking for ...Name and path of MSI to open..thta's where I'm confused...

Need some help here..

Thanks
ASKER CERTIFIED SOLUTION
Avatar of merowinger
merowinger
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. That's exactly what I needed. You've been very helpful
Very helpful.