BUG: Setup Wizard Closes With Error: Invalid Property Value...

Last reviewed: June 19, 1997
Article ID: Q170372
The information in this article applies to:
  • Microsoft Visual Basic Control Creation, Professional, and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

When starting the Microsoft Visual Basic Application Setup Wizard, a dialog appears with the error:

   "Invalid property value, an unexpected error has occurred"

If you click the OK button, the Setup Wizard terminates.

CAUSE

When the Setup Wizard begins, a system configuration file is read. If the devices listed in the configuration file cannot be located, the error occurs and the Setup Wizard terminates.

RESOLUTION

There are two methods to resolve this error:

  1. Reinstall the unlocated device(s).

-or-

  1. Comment the appropriate line in the configuration file.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

When Microsoft Visual Basic is installed, a system configuration file is created. This configuration file includes information about devices installed on the computer at the time of installation.

In Microsoft Visual Basic Version 4.0 there may be three configuration files. The original configuration files are:

  • 16 bit: <VB directory>\SETUPKIT\KITFIL16\SW16TMPL.INI
  • 32 bit: <VB directory>\SETUPKIT\KITFIL32\SW32TMPL.INI

If the Setup Wizard has been used once successfully, an additional configuration file is created for all future uses:

   <Windows directory>\SWDEPEND.INI

In Microsoft Visual Basic Version 5.0, the configuration file is:

   <VB directory>\SETUPKIT\KITFIL32\VB5DEP.INI

The following is a sample of a VB5DEP.INI (other files similar):

   [SetupWiz]
   Uses1=D:\DStudio\VB5\setupkit\kitfil32\VB5StKit.dll
   Drive1=1.44 MB,1457664,512
   Drive2=2.88 MB,2915328,1024
   Drive3=1.2 MB,1213952,512
   Drive4=720 KB,730112,1024
   Drive5=360 KB,362496,1024
   BootStrap=D:\DStudio\VB5\SETUPKIT\KITFIL32\SETUP.EXE
   VBExe=D:\DStudio\VB5\VB5.EXE
   RemoveInstallEXE=D:\DStudio\VB5\SETUPKIT\KITFIL32\ST5UNST.EXE

The Application Setup Wizard reads this configuration file during initialization. If devices described in the log file are not found on the system, the error occurs and the Setup Wizard terminates.

In the sample above, Drive1 is a 1.44MB floppy drive. If this device was removed from the system (and not replaced with a similar device), the Setup Wizard would be unable to find the device and the error would occur. This situation typically occurs with computers that have removable disk drives.

The error can be corrected by either of two methods:

  1. Reinstall the missing device.

-or-

  1. Comment the line in the configuration file by adding a semicolon (;) at the beginning of the line.


Keywords : kberrmsg kbtool TlsSetWiz vb4all vb4win vb5all VBKBToolkit
Version : 4.0 5.0
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.