How to Specify a Destination Directory in a Setup Script

ID: Q108338

The information in this article applies to:

SUMMARY

If you have Document No. WB51157-1093 of the "Microsoft Word User's Guide" (version 6.0), step 4 of the instructions on page 772 on how to change the destination directory using a setup script, incorrectly read:

   To specify a directory where Setup will install Word, scroll through
   the table until you see "%1" in the column labeled "DestDir." Replace
   the "%1" with the name of the directory where you want Setup to
   install Word.

This step is incorrect. To successfully change the destination directory, replace step 4 with the method listed below.

MORE INFORMATION

Note: If you are running Word 6.0a or 6.0c, skip steps 1 and 2.

1. Search the SETUP.STF for "Batch Mode Root Object ID." Using Microsoft

   Excel, choose Find from the Formula menu, and type "batch mode root
   object ID" (without the quotation marks) in the Find What box. If Word
   was installed using 1.2 MB or 1.44 MB floppy disks, this is cell A19. If
   the upgrade package was used, this is cell A20.

2. Change the Batch Mode Root Object ID value from 13:01 to 14:01. If Word
   was installed using 1.2 MB or 1.44 MB floppy disks, this is cell B19. If
   the upgrade package was used, this is cell B20.

3. Search the SETUP.STF for "Object Data". If Word was installed using 1.2
   MB or 1.44 MB floppy disks, this is cell F23. If the upgrade package was
   used, this is cell F24.

4. The row beneath Object Data (F24 or F25) will list the current settings,
   including the default directory. The default is:

      "C:\WINWORD", "WINWORD.EXE", "6.0.0.2226", 1, "yes", "yes", 2 3 4 5

   Change "C:\WINWORD" (including quotation marks) to the desired default
   directory making certain not to edit any other settings in that cell.

5. Continue to step 5 in the user's guide.

KBCategory: kbdocerr KBSubcategory: Additional query words: 6.0 6.0a 6.0c winword SETUP.STF script word6 default quiet

Keywords          : kbsetup kbdocerr
Version           : 6.0 6.0a 6.0c
Platform          : WINDOWS
Issue type        : kbhowto

Last Reviewed: February 6, 1998