Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 2004

Keeping Office Current

An administrative installation point helps you maintain Office clients--and your sanity.
RSS
Subscribe to Windows IT Pro | See More Hotfixes Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

Desktop administrators often forget that, like Windows OSs, Microsoft Office requires occasional updates to maintain a functional and, more important, secure platform for user productivity. Two basic methods exist for keeping clients updated. You can apply updates directly to client installations, or you can patch an administrative installation point, then recache and reinstall Office on client computers. You can read Microsoft's perspective on the pros and cons for each method at http://www.microsoft.com/office/ork/updates/patch_oxpo2k.htm.

In this article, I discuss how to create and maintain an administrative installation point for distributing updates. However, even if your long-term maintenance strategy doesn't include ongoing updates to an administrative installation point, you can use these techniques when creating your baseline Office installation.

Creating an Administrative Installation Point
An administrative installation point is an image of the Office installation files that's located on a network share. Because you can't write to the Office installation CD-ROM, an administrative installation point is required if you want an
up-to-date installation source for Office. Additionally, you can create transforms (files that modify the behavior of Windows Installer­based installations) for customizing Office installations and create batch files for automated installations within this share. If you don't already have an administrative installation point, follow these steps to create one.

1.Create a share on a network server with sufficient disk space to host the full Office source code (approximately 600MB to 700MB for Office XP and Office 2000).

2.Create one or more appropriately named subfolders (e.g., OfficeXPStd or Office2KPro) to hold the Office installation files.

3.Place the Office installation CD-ROM into a desktop system that can write to the network share you just created.

4.Open a command prompt and edit it to the root directory of the Office installation CD-ROM.

5.Type

Setup /a

on the command line and press Enter.

6.Fill in the required fields with your organization name, the installation location (the subfolder in the share you just created), and your product license key.

After you accept the license agreement and click Install, the installation extracts the Office files to the network share. If you want to create an administrative installation source for an add-on component such as Office Web Components, you can use the following method to extract the files:

1.Open a command prompt and edit it to the root directory of the Office installation CD-ROM.

2.Type

msiexec.exe a filename.msi SHORTFILENAMES=TRUE

on the command line and press Enter.

3. When you're prompted, enter the path to the newly created administrative installation point.

Finding and Downloading Updates
After you create an administrative installation point for your Office product or products, you need to download and apply the latest service packs and patches so that future installations will reflect the current patch level. Microsoft issues Office updates in two formats: administrative (full-file) updates and client (binary) updates. When patching an administrative installation point, you must use administrative updates, which perform full-file replacement for all changes contained in an update.

Your first and best resource for finding and downloading updates is the Office Admin Update Center (http://www.microsoft.com/office/ork/updates/default.htm). The site lists all updates to Office products, including Office 2003, Office XP, and Office 97­Office 2000. The update lists are organized using indents and descriptions to help you determine which files you need to download. For example, the administrative updates for Office 2000—Office 2000 Service Release 1 (SR1), Office 2000 Service Pack 3 (SP3), and the fixes released after Office 2000 SP3—are listed with no indents. All other fixes that are rolled into a later service pack are indented and listed under a heading that denotes which service pack Microsoft rolled them into.

Obviously, older Office versions have more patches and service packs available. Organizing and applying all the updates can present a challenge if you're starting from a fresh, unpatched version of Office. In some cases, the order in which you apply patches is crucial. For instance, when patching Office 2000, you must apply SR1 or SR1a before you apply SP3 and apply SP3 before you apply the post-SP3 patches. Here's what to do to simplify your task when you have a bevy of updates to apply.

Maintaining Sanity
I've developed a strategy for maintaining my sanity when it's time to apply numerous patches to Office. Because the organization I work for supports separate Office versions, one misplaced or misnamed update can throw me into a state of confusion and disarray. Therefore, before I download any updates, I create a base directory for Office updates and a subdirectory for each supported Office platform. Figure 1 shows an example of the directory structure I created to support Office XP and Office 2000.

After you determine which updates you need to download, start at the bottom of the list as it appears on the Web site and download the updates using the original filename, but append a character to the beginning of the filename to specify the order in which you need to install the update. (This method works well to maintain order whether or not you use the mass update batch file I discuss later.) After you save the updates to your computer, use WinZip Computing's WinZip or a similar archive-extracting tool to extract the contents of the self-extracting archives to a folder named with the name of the archive. For example, because I need to apply SR1 before any other Office 2000 updates, I add A- to the original filename when I save the download. When I extract the SR1 update, now named A-Data1.exe, I instruct WinZip to create a folder based on that filename. So, the ultimate destination for the SR1 update, Data1.msp, is Updates\O2Kupdates\A-Data1, as Figure 1 shows. If you use this method to download and extract all needed updates, you can use the dir command to create the rudimentary structure of a batch file you'll use to apply your series of patches. To run the command, open a command prompt and edit it to the Office platform directory under the base updates directory you created (i.e., Updates\O2Kupdates). Type

dir *.msp /b /s > patch.bat

on the command line and press Enter.

This command creates a file named patch.bat and places in that file the filenames and full path of the updates you downloaded. This step accomplishes two goals: You avoid having to type the long path and filename for each update, and you establish the order in which the batch file will process the updates.

Performing Mass Updates
Some patches and updates can take quite a while to process. Keeping track of the patches you've applied can be difficult if you embark on other tasks while waiting for a patch to complete. This tracking difficulty combined with the complicated syntax you use with msiexec.exe to apply patches makes a strong argument for leveraging a batch file to organize and execute your updates. Listing 1 shows a sample client update batch file, and the following guidelines will help you modify your own batch files.

I use the following syntax to update an administrative installation point:

Msiexec /a msifile /p updatefile
SHORTFILENAMES=TRUE /qb /L logfile

The msifile parameter specifies the name of the .msi file you're updating. This name will vary according to which distribution of Office you're updating. (CD-ROMs that contain the source for both standard and professional versions of Office will have a separate .msi file for each version.) This argument remains the same for each line of the batch file, so you can copy it to make life easy. If you apply an update to an add-on such as Office Web Components, which uses a separate msi file, you need to substitute the correct name of the .msi file you'll be updating.

You populated the updatefile parameter earlier when you used the dir command with redirection to the batch file. You simply need to precede the existing entries with a /p.

The other arguments are operational arguments. The SHORTFILENAMES=TRUE argument is required when you run Windows Installer from the command line. The /qb argument instructs msiexec to display only informational dialogs to streamline patching, and the /L or /L*v argument instructs msiexec to log the update operations. The logfile parameter is the name of the logfile you want to create. The *v option creates a verbose log, which probably has more data than you want to see unless you're troubleshooting a problem. To simplify the batch file creation process, you can copy these three arguments to the end of every line in the batch file, but you'll want to modify the logfile name for each update operation because each successive operation overwrites the log file. Initially, you might want to insert pause statements between each msiexec command to more closely monitor which operations are being performed. After you modify your batch file to look similar to the one Listing 1 shows, you can run it
to apply all the specified patches in sequence.

If you attempt to update a component that isn't contained in your administrative installation point (e.g., Office Web Components or Access Runtime) you'll see the message "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch." If you don't use this component, you didn't need to download that update and can ignore the message. If the component should be part of your administrative installation point, the component might use a separate msi database. In that case, you need to specify the correct name for the .msi file to patch and rerun that line of the batch file.

Reaping the Benefits
Creating and maintaining an administrative installation point might seem like a lot of work, but it's a necessary chore if you intend to keep the clients you support up to date. I hope some of the techniques and procedures I discussed in this article will help you complete the task successfully and with your sanity intact.

End of Article



Reader Comments
My users only have power user rights locally. Are local admin rights required to run the updates from an AIP?


woodruffmj September 02, 2004 (Article Rating: )


You forgot the last part of the process: how this updated version of Office gets onto users' computers. The answer is that each user whose PC was installed from the administrative installation point needs to perform what Microsoft calls a "recache reinstall". It's not as bad as it sounds; it's just this command line:
Msiexec msifile REINSTALL=ALL REINSTALLMODE=vomus /qb+

If you have an application deployment tool (like Novell ZENworks or Microsoft SMS), you can push this command to PCs with that version of Office.

In answer to woodruffmj, my understanding is that a recache reinstall does not need a Windows Administrator.

And one last note: Office System 2003 offers a completely new alternative for installations: local caching. If you use this feature (and it's on by default), then you don't use a traditional patched administrative installation point; your users use OfficeUpdate (what Microsoft calls "client patches") instead.

SNissen September 13, 2004 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...

Outlook Tips and Techniques

Read about hiding items, merging appointments, multiple windows, creating views, permissions, sending Outlook items to outside recipients, Send As permission, Inbox Assistant, tricks for rules, and tips for obtaining Microsoft Knowledge Base articles. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Solving PST Management Problems
In this white paper, read about the top PST issues and how to administer local/network PST Files.

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing