Modifying the DestDir Column in the MS Office SETUP.STFLast reviewed: March 27, 1997Article ID: Q125459 |
4.20 4.30 7.00
WINDOWS
kbsetup
The information in this article applies to:
SUMMARY =======A setup script is a set of instructions you can use to control elements of a program's setup. These instructions are contained in a special file called a "setup table file" (STF). The following are guidelines you can use to determine whether to use a trailing backslash with items in the SETUP.STF:
MICROSOFT OFFICE VERSION 4.XThese two methods have different purposes. Changing the DestDir will hard code a specific destination directory for the Program files. However, changing the Object Data entry will change the default directory but will allow the user to change this directory if they are not using the batch mode for installation.
DestDirIf you are modifying the %1 in the DestDir Column (the destination directory of a specified object) of the SETUP.STF, you need to include the trailing backslash, as in the following example:
C:\WORD6\ Object Data for AppSearch ObjectIf you choose to modify the Object Data column for the AppSearch object, then you do not use the trailing backslash. The row beneath Object Data (cell F24 or F25 if you are editing the STF in Microsoft Excel) will list the current settings including the default directory. The default settings in the Object Data column are the following:
"C:\WINWORD", "WINWORD.EXE", "6.0.0.2226", 1, "yes", "yes", 2 3 4 5You could change C:\WINWORD to the desired default directory (if you do this, do not change any other settings in the cell).
MICROSOFT OFFICE VERSION 7.0As a 32-bit operating system, Windows 95 allows you to use long filenames. Therefore, the Office version 7.0 STF file contains long filename alternative entries. For example, the first AppSearch entry appears as follows:
"C:\MSOffice"<C:\MSOffice>,MSOFFICE.EXE,95.2.3.2,176,,yes,8The path enclosed in angle brackets (<path>) is the long filename alternative. The preceding path enclosed in quotation marks ("path") is the standard path.
ModificationModifications to an STF file should be made using a backup copy of the file and following the procedures outlined in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q111248 TITLE : XL: Saving .STF File in Excel May Cause Setup Error MessagesTo set the folder that Office version 7.0 is installed to, modify both paths in the Object Data and the Destination Directory for Object Id 2 by using the following procedure:
<path>SETUP /t <path>filename.STF /q MORE INFORMATION ================For more information about customizing the SETUP.STF file, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q119357 TITLE : AppNote: "How to Create a Custom Installation Script" (WC1046) |
KBCategory: kbsetup
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |