microsoft.com Home  
Microsoft
http://www.microsoft.com/office/ork  
Removal Wizard

Removing Components from Previous Versions of Office

The Microsoft Removal Wizard and the Office 2000 Setup program use the same logic and the same text file to remove unneeded or obsolete files and settings from users’ computers.

The Removal Wizard consists of the following files:

Offcln9.opc   Text file that specifies files, registry, and INI file settings, and shortcuts associated with a particular language version of Office to be removed.

Oclean9.dll   Carries out instructions in Offcln9.opc to clean up the user’s hard disk.

Offcln9.exe   Provides the user interface that lets you run the wizard as a stand-alone utility.

You can customize the OPC file so that only the components that you specify are removed — including non-Office applications.

Top

Running the removal process during Office Setup

When users install Office 2000, the Office Setup program detects unneeded files, settings, and shortcuts from previously installed versions of Office and removes them. Because the removal function of Setup runs as part of the Windows installer package, Setup runs with administrative permissions. That way, Setup can remove prior versions of Office even for users who don’t have administrative permissions.

Setup removes files according to instructions contained in one or more OPC files and can remove files for as many languages as you have OPC files. For example, a user might have a French version of Microsoft Word and an English version of Microsoft Excel. If the user has OPC files for both French and English, both the French and English components are removed.

Note   If you have an OPC file that instructs Setup to keep some Office files, while another OPC instructs Setup to remove those files, Setup removes the files.

The removal function of Setup detects the following components of prior versions of Office and Office-related products:

Note   Setup recognizes components at the application level. Therefore, the removal process detects and removes stand-alone versions of applications such as Word and Excel, as well as shared components such as Office Binder and Equation Editor.

Setup also detects the following as candidates for removal:

Finally, Setup detects and removes temporary files, which are defined as files found in any of the following folders:

Top

Running the Removal Wizard as a stand-alone utility

After Office Setup removes files and settings from previously installed versions of Office or Office components, other unneeded files might remain on users’ computers. For example, font files and dynamic-link library (DLL) files might not be removed. You can run the Removal Wizard as a stand-alone utility to remove all Office-related files from users’ computers.

Note   Setup does not remove user files from the user’s hard disk.

Situations in which it makes sense to run the Removal Wizard as a stand-alone utility include the following:

Toolbox   The Removal Wizard gives you a great deal of control over how you clean up users’ hard disks. For information about installing the wizard, see Removal Wizard.

Note   In Microsoft Windows NT, the Removal Wizard needs administrator permissions to run. Therefore, if the user does not have administrator permissions, you must run the wizard with the proper permissions.

You can run the Removal Wizard in one of three modes, depending on the degree to which you want to clean up users’ hard disks:

Aggressive mode   Removes all Office-related components, including components shared by more than one Office application. Before installing Office 2000, you might want to run the wizard in aggressive mode for users who are upgrading from a variety of Office versions.

Safe mode   Removes only components that are no longer needed. Components deleted in safe mode are not being used by any application.

Safe mode with user discretion   Runs in safe mode, but allows you to select which detected applications to keep and which to delete.

Caution   Never run the Removal Wizard in aggressive mode after you install Office 2000 because it removes all Office components, including those that might be needed by Office 2000 or an Office 2000-compatible application.

Tip   If you want to see a list of what files are deleted in the various modes, run the Removal Wizard to see the list or save the list in a text file. Then save the list as a text file and cancel the wizard. If you save the list as a text file, you can see which applications use which files.

Top

See also

You can use the Office Custom Installation Wizard to customize Setup so that it prompts users before removing components. For more information, see Office Custom Installation Wizard.



Top


Friday, March 5, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of use.

License