Microsoft KB Archive/822238

= How to understand the repair feature in Office 2003 and in Office XP =

Article ID: 822238

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Office Professional Edition 2003
 * Microsoft Office Standard Edition 2003
 * Microsoft Office Student and Teacher Edition 2003
 * Microsoft Office Small Business Edition 2003
 * Microsoft Office Basic Edition 2003
 * Microsoft Office Access 2003
 * Microsoft Office Excel 2003
 * Microsoft Office FrontPage 2003
 * Microsoft Office Outlook 2003
 * Microsoft Office PowerPoint 2003
 * Microsoft Office Publisher 2003
 * Microsoft Office Word 2003
 * Microsoft Office InfoPath 2003
 * Microsoft Office OneNote 2003
 * Microsoft Office Project Professional 2003
 * Microsoft Office Project Standard 2003
 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003
 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition for Students and Teachers
 * Microsoft Office XP Developer Edition
 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition
 * Microsoft Publisher 2002 Standard Edition
 * Microsoft Project 2002 Professional Edition
 * Microsoft Project 2002 Standard Edition
 * Microsoft Visio 2002 Professional Edition
 * Microsoft Visio 2002 Standard Edition

-



IN THIS TASK

 * SUMMARY
 * Components and features
 * Dynamic run-time repair
 * On-demand detect and repair



SUMMARY
This step-by-step article describes how the repair process in Office works.

Office takes full advantage of the self-repairing features that are offered by the Microsoft Windows Installer. If a resource that you must have to start an Office program is missing, such as a file or registry key, the Windows Installer detects the missing resource and repairs the program.

back to the top

Components and features
The repair process of Windows Installer is composed of two mechanisms: components and features.
 * Components The smallest and most fundamental block; a collection of files, registry keys, and other resources that are all installed or uninstalled as a unit. One of the resources in a component can be designated as the keypath for the component. Typically, a file is chosen as the keypath, but the keypath can also be a registry value.

The keypath represents the following:
 * The path to the selected component. When a program requests a path to a component, the Windows Installer returns the path to the keypath resource.
 * Verification that the component is installed correctly. If the keypath resource is missing, the Windows Installer treats the whole component as broken.
 * Features The specific pieces of a program that you can choose to install. Features typically represent the functional features of the program. Essentially, a feature is a grouping of components. When you perform a custom installation, the items that are listed in the Advanced Customization dialog box are the features for Office and the various Office programs.

back to the top

Dynamic run-time repair
The Windows Installer enables a dynamic repair of a program in much the same way that it enables the installation of features on first use. When a program is started, the Windows Installer verifies that each component is correctly installed.

As mentioned in the &quot;Components and Features&quot; section of this article, the existence of the keypath is used to determine if a component is broken or missing. If the keypath resource is missing, the Windows Installer automatically reinstalls the component or components that are broken or missing.

If your source files are accessible, you may see a Windows Installer dialog box appear briefly during the repair process, and then the program finishes starting.

For more information about the Windows Installer, click the following article number to view the article in the Microsoft Knowledge Base:

310598 Overview of the Windows Installer technology

Note If you are running Office XP or one of the Office 2002 programs, you must have Windows Desktop Update installed on the computer for the dynamic run-time repair feature to work as expected. If the computer is not running Windows Desktop Update, only limited repair occurs. To use all the self-repairing capabilities that are included in Office, you must have at least Microsoft Internet Explorer 4.01 Service Pack 1 (SP1) or Microsoft Internet Explorer 4.01 Service Pack 2 (SP2) and Windows Desktop Update installed on the computer before you install Office XP. These requirements will be an issue only on computers that are running Microsoft Windows NT 4.0. All other operating systems that are required for Office XP include the required version of Internet Explorer. You cannot install Office 2003 or the individual Office 2003 programs on Microsoft Windows NT 4.0.

back to the top

On-demand detect and repair
To run the Detect and Repair feature in your Office programs, follow these steps:  Start an Office program. On the Help menu, click Detect and Repair. In the Detect and Repair dialog box, do any of the following:  Click to select the Restore my shortcuts while repairing check box. By default, this check box is selected. If you select the Restore my shortcuts while repairing option, Detect and Repair will keep your custom Office shortcuts. If you do not select this option, Detect and Repair will remove your custom Office shortcuts. Click to select the Discard my customized settings and restore default settings check box. If you select the Discard my customized settings and restore default settings option, Detect and Repair will set the following back to the state that they appeared in when you first installed Office:  The Assistant character selection. Most-recently-used entries on the File menu will be removed.</li> The size of the program window for all programs.</li> Menu and toolbar position and any customizations.</li> The security level for each program.</li> View settings in the program, such as the Calendar view in Outlook.</li> You must re-enter your User Name and Initials when you restart your Office programs.</li></ul> </li></ul> </li> Click Start.</li> Click Ignore if the Close Office Programs dialog box displays the following message (where program is any Office program that is currently running):

In order to correctly pick up or restore your settings, the following programs must be closed:

Microsoft program</li> After the repair process has completed, click OK to the following message where edition is the version of Office that you have installed (for example, Microsoft Office Professional Edition 2003):

Microsoft Office edition Setup completed successfully.

</li></ol>

back to the top

Additional query words: off2003 auto-repair self-heal self-healing self-repair auto repair repairing self inf xl2003 wd2003 ppt2003 pub2003 acc2003 ol2003 onenote2003

Keywords: kbhowtomaster kbinfo kbfunctions KB822238

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.