Office 2007 upgrade via SCCM / SMS 2007

Posted on 2009-05-27
Medium Priority
Last Modified: 2013-11-21
Hi All

We are doing a test run of upgrading Office 2007 from the previous version of Office 2003. Amongst various challenges, two of them stand out, as of now!

1. If there is an any instance of word / outlook or excel already open on the user's PC, the upgrade package installation pushed via SCCM 2007 fails. In some cases, even thought Excel window isn't there but 'excel.exe' was running as process within the taskmanger of XP workstation and the upgarde failed.

Before starting the upgrade, is there a way I can force shutdown / end all office processes?

2. For installing Outlook 2007 instant search we need to install Windows Desktop Search v 4 and I need to customise it so that it ONLY replaces search for Outlook 2007 and not the base Windows XP search. Where is Windows Desktop Search customisation wizard or command line?
Question by:fahim
  • 3
  • 2

Expert Comment

ID: 24504121
Hi fahim,
For your first question you could use a BAT file to kill the running processes using TASKKILL, and then call setup.exe thereafter.  See some sample code below.
As for your second question here is a link to a Microsoft doc that should assist you in the configuration of WDS.  Hope this helps!

@echo off
taskkill /F /IM winword.exe /IM excel.exe /IM outlook.exe etc.
<location of office binaries>\setup.exe

Open in new window


Expert Comment

ID: 24504211
Hi fahim,
I also meant to mention that you will prob want to create a msp file to run with setup by using the /admin switch on setup.exe.  Sorry to leave that out on the first comment.  hth.


Author Comment

ID: 24512645
Thanks for the reply gonzo.

Having gone through the documentation I failed to find the steps required to customide the WDS 4 in such a way, during the install, I only use it for replacing the Instant Search within my Outlook 2007 and not to replace the search function of Windows XP in general.

Do you have any further suggestions in this regard?
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!


Author Comment

ID: 24515157
Also, can I 'Save' the open files at their default location (if existing) from the command line before 'terminating' the associated 'exes'?

Expert Comment

ID: 24516990
Hey fahim,
You can have a look at the below link to enable the classic search after the install.  I referenced the above link mainly for the configuration options with GP.
Also, using the listed cmd example the open documents will not save before closing.  I would attempt to run the install after business hours and inform the users or managers of the service.  Hope this helps!

LVL 31

Accepted Solution

merowinger earned 2000 total points
ID: 24544659
To your question how to make sure, that the documents are first saved....
One possibility is to enable the AutoSave Option in your Office 2003 Policies, then start the upgrade. If there's found an running office process. Just wait for the AutoSave Interval from Office 2003. So you can make sure that the last changes which made in the document are saved within that time period...The other once surely get lost.!
To check if some office processes are running befor kill them you could try that script below (.vbs)
strComputer = "."
intAutoSaveInterval = 600000 ' Should be 10 minutes
Set objWMIService = GetObject ("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery ("Select * from Win32_Process Where Name = 'winword.exe'")
If colProcessList.COunt >= 1 Then Wscript.Sleep intAutoSaveInterval
For Each objProcess in colProcessList

Open in new window


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Manually copying shapes and their assigned macros one by one to a new location can be tedious, but if you use the Excel utility workbook attached to this article, the process will be much quicker and easier.
Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

621 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