Article ID: 242216 - Last Review: March 22, 2007 - Revision: 3.4 How to use the Custom Maintenance Wizard to add or remove Office featuresThis article was previously published under Q242216 On This PageSUMMARY When you deploy Office 2000, you might not install all of
the Office programs and features, and you might even hide some features by
using a custom transform. Later you might decide to add or remove Office
features. To do this, you have four options:
MORE INFORMATION The Custom Maintenance Wizard gives you more flexibility,
ease of use, and control when you need to install or modify Office 2000
features in an existing installation. The following sections outline how to
download and install the Custom Maintenance Wizard, how to create a .cmw file,
and how to use the .cmw file to add or remove features on an existing Office
installation. How to download and install the Custom Maintenance WizardThe Custom Maintenance Wizard can be downloaded from the Office Resource Kit World Wide Web site. To do this, do the following:
Introduction to the Custom Maintenance WizardThe Microsoft Office 2000 Custom Maintenance Wizard allows you to update the installed feature set for a software product on users' computers. Initially the Custom Maintenance Wizard reads the Windows Installer package (.msi file) and creates a new product configuration (.cmw) file. Later the Custom Maintenance Wizard uses the .cmw file to update the installed feature set of the product installed on users' computers. As with other Office wizards, the Custom Maintenance Wizard guides you through a series of panels and options. To advance to the next panel, click Next. To go back to a previous panel, click Back.The Custom Maintenance Wizard does not write your modifications to the .cmw file until you click Finish, so you can return to any panel and change your selections before you complete the final panel. The .msi file is never modified. You can quit the Custom Maintenance Wizard at any time by clicking Cancel. Note The Custom Maintenance Wizard is designed for use with the .msi files included with Office 2000 products using Windows Installer technology. How to create a .cmw file with the Custom Maintenance WizardTo create a .cmw file that you then use to modify existing Office installations, do the following:
Custom Maintenance Wizard switchesThe Custom Maintenance Wizard has four switches that you can use to control the way the wizard works when you are creating a .cmw file and when you are applying the .cmw file to your installation. The following is a list of the CMW switches and a description of how they are used:
Switch Description and Sample Command Line
-----------------------------------------------------------------------
/X Use the /X switch to fully expand the features tree in the
Set Feature Installation States dialog box in the CMW. This
allows you to see the entire tree without having to manually
expand each branch. The following command line uses the
/X switch:
<path>\Maintwiz.exe /x
When you get to the Set Feature Installation States dialog
box, the features tree will be fully expanded.
/C Use the /C switch to specify the .cmw file you want to apply
to an existing Office installation. You must first create the
.cmw file with the CMW before you can use this switch. The
following command line will apply a .cmw file to an existing
Office installation:
<path>\Maintwiz.exe /c "c:\update files\OffPre.cmw"
Enclose the path to your .cmw in quotes if you have any spaces in the
path.
/Q The /Q switch is used in conjunction with the /C switch. It
will run the CMW in quiet mode when you are updating an
existing Office installation. No dialog boxes are displayed
during the update or when the update is finished. The
following command line applies a .cmw file to an existing
Office installation without showing any dialog boxes:
<path>\Maintwiz.exe /c "c:\update files\OffPre.cmw" /q
/L The /L switch is used in conjunction with the /C switch. It
will create a log file when you update an existing Office
installation with a .cmw file. You can specify any path and
file name for the log file. The following command line will
apply a .cmw file to an existing Office installation and a
log file called Cmwlog.txt will be created in the C:\Temp
folder:
<path>\Maintwiz.exe /c c:\OffPre.cmw /L c:\Temp\Cmwlog.txt
Applying a .cmw file to an Office installationAfter you create a .cmw file with the Custom Maintenance Wizard, you can then apply it to an existing Office installation. When you do this, your Office installation is updated with the modifications you specified in the Custom Maintenance Wizard. Therefore, if you run Office Setup in Maintenance Mode and click Add or Remove Features, the updated installation states for the Office features are displayed.To apply a .cmw file to an Office installation, do the following:
LoggingBy default, the Custom Maintenance Wizard does not create a log file when you apply a .cmw file to your Office installation. If you want to log the update to your installation, use the /L switch when you apply your .cmw file. For example, you can use the following command line to create a log file Cmwlog.txt in the c:\Test folder:
<path>\Maintwiz.exe /C c:\OffPre.cmw /L c:\Test\Cmwlog.txt
When you use the /L switch, the following process occurs:
***** MAINTWIZ start: 1999-10-01 14:56:32 *****
CMW file path = c:\CMW\offpre.cmw
ProductCode = {00000409-78E1-11D2-B60F-006097C998E7}
ProductName = Microsoft Office 2000 Premium
ProductVersion = 9.00.2720
Cached MSI path = C:\WINDOWS\Installer\2ad9b.msi
Installation Update Succeeded!
***** MAINTWIZ end: 1999-10-01 14:56:36 *****
=== Logging started: 10/1/99 14:56:33 ===
Action 14:56:33: AppSearch. Preparing to install Microsoft Office 2000 Premium
AppSearch:
AppSearch:
AppSearch:
For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base: 242990
(http://support.microsoft.com/kb/242990/
)
Custom Maintenance Wizard log file is not created
Getting Help with the Custom Maintenance WizardIf you downloaded the Maintwiz.hlp file with Maintwiz.exe, and both of these files are in the same folder, the Help button is available in any of the Custom Maintenance Wizard dialog boxes. The Maintwiz.hlp file contains more information about the wizard and is a great resource for working with this wizard.Note If the Help button is unavailable (dimmed) in the Custom Maintenance Wizard dialog boxes, make sure that Maintwiz.hlp and Maintwiz.exe are in the same folder before you start the wizard. For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base: 243041
(http://support.microsoft.com/kb/243041/
)
Help button is unavailable in Custom Maintenance Wizard
Hidden features in your Office installationIf you used a transform when you initially installed Office and you specified certain features to be hidden, you can use the Custom Maintenance Wizard to change the installation states of these hidden features. For example, if you originally set the Microsoft Outlook for Windows feature to Not Available and you hid the feature in your transform, this feature does not appear in your original Office installation. Also, because this is a hidden feature, you cannot change its installation state in Maintenance Mode Setup.If you then set the Microsoft Outlook for Windows feature to Run from My Computer in the Custom Maintenance Wizard and apply the .cmw file to your Office installation, Microsoft Outlook is available for use on your computer. However, it remains a hidden feature and you cannot change its installation state in Maintenance Mode Setup. If you want to unhide a hidden feature in your Office installation, you must uninstall your existing installation and do one of the following:
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 242338
(http://support.microsoft.com/kb/242338/
)
Custom Maintenance Wizard cannot unhide hidden features
| Article Translations
|

Back to the top
