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).
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:
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:
You 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:
The 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:Q111248 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:
MORE INFORMATIONFor more information about customizing the SETUP.STF file, please see the following article(s) in the Microsoft Knowledge Base: Q119357 OFF: "How to Create a Custom Installation Script" (WC1046) Additional query words:
Keywords : offwin |
Last Reviewed: December 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |