XL: Opening/Saving STF File in Excel May Cause Setup Errors

ID: Q111248

The information in this article applies to:

SYMPTOMS

In Microsoft Excel versions 5.0 and later, if you edit a custom setup script (an .STF file), and then run the Setup program for your Microsoft application, you may receive one or more of the following error messages:

   Admin Mode Root Object ID Object
   Your Setup files may be damaged. Try restarting the Setup Program

   Object 1856
   Your Setup files may be damaged. Try restarting the Setup Program

   The Processing of top-level information has failed

   Object ID 0:Syntax Error in List of Obj ID

   Microsoft Office Setup was not completed successfully

Note that if you run the Setup program with the /q parameter (quiet mode), you only receive the last error message.

CAUSE

In Microsoft Excel versions 5.0 and later, the Text Import Wizard may interpret a value in the .STF file as a time value, or as a number value, and incorrectly convert the value.

For example, assuming the correct syntax for line 15 in the Microsoft Office SETUP.STF is:

   Admin Mode Root Object ID 41:1

When you open this file in Microsoft Excel, the Text Import Wizard interprets the value 41:1 in column two as a time value and converts the line to the following:

   Admin Mode Root Object ID 41:01:00

If you save the .STF file in Microsoft Excel with this value, you receive one or more of the error messages listed above when you run a Setup program that uses this .STF file.

When you open an .STF file for a Microsoft Windows 95 application in Microsoft Excel versions 5.0 and later, the Text Import Wizard also interprets numbers separated by a comma as a single number, and converts the value to a number with commas inserted as the thousands marker.

RESOLUTION

Microsoft provides examples of Visual Basic for Applications procedures for illustration only, without warranty either expressed or implied, including, but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures in this article are provided 'as is' and Microsoft does not guarantee that they can be used in all situations. While Microsoft support engineers can help explain the functionality of a particular macro, they will not modify these examples to provide added functionality, nor will they help you construct macros to meet your specific needs. If you have limited programming experience, you may want to consult one of the Microsoft Solution Providers. Solution Providers offer a wide range of fee-based services, including creating custom macros. For more information about Microsoft Solution Providers, call Microsoft Customer Information Service at (800) 426-9400.

To work around this problem, perform any of the following:

IMPORTANT: You must perform a best fit on column F before you save the file. If you do not, items in that column will appear as pound signs.

MORE INFORMATION

The TextWizard in Microsoft Excel allows you to choose how you want text to be distributed across columns and how the data in each column should be formatted when you open a text file.

For more information about using the TextWizard, choose the Search button in Help and type:

   TextWizard

The third party products mentioned here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

KBCategory: kbsetup kberrmsg kb3rdparty KBSubcategory: Additional reference words: 1.00 1.10 1.20 4.00 4.00a 4.00c 4.20 4.20c 4.30 4.30c 5.00 5.00c 6.00 6.00a 6.00c 7.00 8.00 97 officeinterop 908 938 723 ppt95 ppt97

Keywords          : kb3rdparty kberrmsg kbsetup
Version           : 1.00 1.10 1.20
Platform          : WINDOWS

Last Reviewed: November 7, 1997