BUG: "Invalid Line In Setup Information File" Error When Installing VB6 App (216156)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q216156

SYMPTOMS

When running a setup program that was created using the VB 6.0 Package and Deployment Wizard (PDW), you receive the following error message:
Invalid line in setup information file

CAUSE

This error is caused by bad date and time formats written to the Setup.lst file. This issue is documented in the "Wizard Issues" section of the Visual Basic Readme file (readmevb.htm) as follows:

Package and Deployment Wizard: Bad Date and Time Formats

In certain situations, the Package and Deployment Wizard will incorrectly write time and date information to the Setup.lst file. When this occurs, the setup will fail because the dates will be written in a form that the setup.exe cannot read. The problem occurs when you create a deployment package using the US version of Visual Basic on:
  • A computer using the German version of Windows. (NOTE: the German version of Visual Basic will work correctly.)
  • Any computer where the date separator isn't either a forward slash ( / ) or a dash ( - ).

RESOLUTION

To resolve this problem:

  1. From the Start menu, open Control Panel.
  2. Click the Regional Settings icon.
  3. On the Date tab, change the Date separator to a forward slash ( / ).
  4. On the Time tab, change the Time separator to a colon ( : ).
  5. Run the Package and Deployment Wizard
  6. Restore the date and time settings.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

You can also get this error when distributing an application that uses the Jet engine.

REFERENCES

For additional information about this error, please see the following article in the Microsoft Knowledge Base:

159411 PRB: "Invalid Line in Setup Information File" Error Message

Modification Type:MajorLast Reviewed:5/12/2003
Keywords:kbBug kbDateTime kberrmsg kbfix kbsetup KB216156