OFF97: How to Configure Setup.stf to Exclude WordMail

Last reviewed: October 22, 1997
Article ID: Q165955
The information in this article applies to:
  • Microsoft Office 97 for Windows
  • Microsoft Office 97 for Windows, Service Release 1 (SR-1)

SUMMARY

In Microsoft Office 97, it is possible to customize a post-administrative installation (setup /a) so that when your users run Office 97 Setup, WordMail is not available for installation and none of the WordMail components, including the templates, are installed.

This article explains how to perform this task by editing the Office Setup .stf file.

MORE INFORMATION

WARNING: This modification may not be supported by Microsoft. Microsoft support engineers will support some modifications to a BACKUP copy of the Setup.stf file. Note also that while support engineers may help customers modify specific lines of an STF, we will not rewrite the entire file in order to achieve a desired configuration. As a general rule, support is limited to options that can normally be changed by a user during a standard installation of the application.

NOTE: The following steps work only if you first perform an administrative installation (setup /a) of Office 97 to a server on your network. If you are performing a stand-alone installation using the Office 97 compact disc, you cannot use the steps in this article.

Before you perform the following steps, make a backup copy of the Off97pro.stf or Off97std.stf file on your server. Rename the file to Backup.stf and do not open or edit it for any reason.

NOTE: The following steps explain how to use Microsoft Excel to edit the .stf file. If Microsoft Excel is not installed or you have problems using these steps, open the .stf file in WordPad or another text editor that does not alter tabs and spaces. Make the appropriate changes outlined in step 15 and save the file.

Use the following steps to edit the .stf file in Microsoft Excel version 5.0 or later.

  1. In Microsoft Excel, open the .stf file that you want to edit.

  2. In the Text Import Wizard dialog box, click Next twice to proceed to step 3 of the wizard.

  3. In the Text Import Wizard - Step 3 Of 3 dialog box, under Data Preview, drag the vertical scroll bar indicator down until the Object ID item appears in the Data Preview window. Click the first column to select it. Hold the SHIFT key down, and drag the horizontal scroll bar indicator to the right until the last column is displayed in the Data Preview window. Click the last column. All of the columns (at least 15 columns) should be selected.

  4. Under Column Data Format, click Text, and then click Finish.

  5. After you open the .stf file, press CTRL+SHIFT+SPACEBAR to select the entire .stf file. Then, on the Data menu, point to Filter, and then click AutoFilter.

  6. In cell E1, click the arrow, and then click the value "AddRegData."

  7. In cell F1, click the arrow and click Custom. In the Custom AutoFilter dialog box, set the following values

    Show rows where: F contains """" (four quotation marks)

    and click OK.

  8. Select all visible cells in column F.

  9. On the Edit menu, click Replace. In the Find What box, type a space, followed by a quotation mark ("). In the Replace With box, type a quotation mark ("). Click Replace All.

  10. Select all visible cells in column F.

  11. On the Edit menu, click Replace. In the Find What box, type three quotation marks ("""). In the Replace With box, type two quotation marks (""). Click Replace All.

  12. Select all visible cells in column F.

  13. On the Edit menu, click Replace. In the Find What box, type two quotation marks (""). In the Replace With box, type a quotation mark ("). Click Replace All.

  14. On the Data menu, point to Filter, and click AutoFilter.

  15. Find the following Object IDs located in column A and delete the corresponding values from the Object Data column in column F. Make sure you delete the trailing space after each number. Use the table that is appropriate for your version of Office.

    Microsoft Office 97 Professional Edition:

           For        Remove the Reference to
           ----------------------------------
    
           ObjID   94                     305
           ObjID  275                     302
           ObjID  276                     302
           ObjID  285                   12802
           ObjID 7202                    7301
           ObjID 7203                    7301
           ObjID 7204                    7301
    
        Microsoft Office 97 Professional Edition, SR-1:
    
           For        Remove the Reference to
           ----------------------------------
    
           ObjID  103                     318
           ObjID  288                     315
           ObjID  289                     315
           ObjID  298                   13102
           ObjID 7302                    7401
           ObjID 7303                    7401
           ObjID 7304                    7401
    
        Microsoft Office 97 Standard Edition:
    
           For        Remove the Reference to
           ----------------------------------
    
           ObjID   84                     217
           ObjID  187                     214
           ObjID  188                     214
           ObjID  197                   11702
           ObjID 6802                    6901
           ObjID 6803                    6901
           ObjID 6804                    6901
    
        Microsoft Office 97 Standard Edition, SR-1:
    
           For        Remove the Reference to
           ----------------------------------
    
           ObjID   93                    230
           ObjID  200                    227
           ObjID  201                    227
           ObjID  210                  12102
           ObjID 7002                   7101
           ObjID 7003                   7101
           ObjID 7004                   7101
    
    

  16. On the File menu, click Save. Make sure that the file type is Text.

After you finish these steps, the WordMail component is not installed and does not appear in the Add/Remove Programs Control Panel icon for any user who performs an installation of Office 97 using the modified setup table file (for example, you may call this file Custom.stf).

For more information on using custom setup table files with Office 97, see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q158281
   TITLE     : OFF97: How to Use Custom STF Files with MS Office 97 Setup
Keywords          : OffWinSetup kbsetup
Version           : WINDOWS:97,97sr1
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.