Solved

Uninstall Office 2007 and install 2003

Posted on 2014-04-17
10
221 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

12 Experts available now in Live!

Get 1:1 Help Now