PRB: Setup Wizard Fails to Recognize Disk Drive Selections

Last reviewed: September 6, 1996
Article ID: Q150949
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

In the Combo Boxes for the disk drive selection on Step 3 of the Setup Wizard, the drives are either missing or grayed out.

CAUSE

The Setup Wizard stores the disk drive selection and other setup information in the SWDEPEND.INI file. The SWDEPEND.INI file is created for the first time when the Setup Wizard is run, or if the file or an entry has been deleted. If the file is incorrectly created, altered, or damaged, the Setup Wizard does not function properly. The Setup Wizard looks for the entries in SWDEPEND.INI that contain the drive information, but cannot find them.

RESOLUTION

Use the following steps to resolve this problem:

  1. Rename SWDEPEND.INI, which is located in the \WINDOWS directory.

  2. Use a text editor to open the ...\SETUPKIT\KITFIL32\SWxxTMPL.INI file, where xx is 16 or 32.

    NOTE: If you have installed on a 16-bit operating system, the KITFIL32 directory will be called KITFILES.

  3. Check for the following lines under the [SetupWiz-xx] section, where xx is 16 or 32:

    Drive1=1.2 MB Disk,1213952,512 Drive2=1.44 MB Disk,1457664,512 Drive3=720 KB Disk,730112,1024 Drive4=360 KB Disk,362496,1024

  4. If these lines do not exist, the file is corrupt and a fresh copy should be created from the 16-bit edition \VB\setupkit\kitfiles or the 32-bit edition \VB\setupkit\kitfil32 directory on the CD-ROM. If these lines do exist, run the Setup Wizard again to create a new SWDEPEND.INI file.

  5. Run the Setup Wizard and note that you can now select the drives.

STATUS

This behavior is by design.


Additional reference words: 4.00 vb4win vb4all
KBCategory: kbsetup kbprb
KBSubcategory: Setins




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: September 6, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.