Solved

Uninstall Office 2007 and install 2003

Posted on 2014-04-17
10
222 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

816 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now