Solved

Uninstall Office 2007 and install 2003

Posted on 2014-04-17
10
220 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Unlike scripting languages such as C# where a semi-colon is used to indicate the end of a command, Microsoft's VBScript language relies on line breaks to determine when a command begins and ends. As you can imagine, this quickly results in messy cod…
Hello again, all.  For those of you that have been following along, you'll know that this is my third article on this topic (though it is not Part III).  This article is sort of remedial, and probably the topic with which I should have started the s…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

24 Experts available now in Live!

Get 1:1 Help Now