Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Uninstall Office 2007 and install 2003

Posted on 2014-04-17
10
223 Views
Last Modified: 2014-04-20
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
0
Comment
Question by:Bianchi928
  • 6
  • 4
10 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 40006358
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

0
 

Author Comment

by:Bianchi928
ID: 40007800
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 ?
0
 
LVL 31

Expert Comment

by:merowinger
ID: 40008314
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
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:Bianchi928
ID: 40009746
Hi,

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

As for Office 2003, I have the cd's for both Standard & Professional.
0
 
LVL 31

Expert Comment

by:merowinger
ID: 40010453
So do you Need any further help?
0
 

Author Comment

by:Bianchi928
ID: 40010716
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
0
 

Author Comment

by:Bianchi928
ID: 40010897
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
0
 
LVL 31

Accepted Solution

by:
merowinger earned 500 total points
ID: 40011092
In Custom Installation Wizard you Need to open the MSI File from your Office 2003 Installation files. For silent Installation you have to configure a few Options like ProductKey, etc. Also you can define which Office Apps to install and which not.
The result is a Transform file .MST which is used to install the MSI file with your customizations. ORK offers a lot of possibilities but i would suggest you configure just things which you need.
I suggest you check out this article

http://forevergeeks.com/2008/11/customize-office-2003-installation-using-microsoft-office-resource-kit/
0
 

Author Comment

by:Bianchi928
ID: 40011769
Thanks. That's exactly what I needed. You've been very helpful
0
 

Author Closing Comment

by:Bianchi928
ID: 40011770
Very helpful.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question