Microsoft KB Archive/150949

= PRB: Setup Wizard Fails to Recognize Disk Drive Selections =

Article ID: 150949

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q150949



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:

 Rename SWDEPEND.INI, which is located in the \WINDOWS directory. 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.  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  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. Run the Setup Wizard and note that you can now select the drives.

<div class="status_section">

STATUS
This behavior is by design.

Keywords: kbsetup kbprb kbdsstools KB150949

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.