BUG: Setup "Internal Error: File List Initialization"

ID: Q99949


The information in this article applies to:


SYMPTOMS

An attempt to run the Visual C++ Setup program across a network from a disk drive located on another machine may fail and Setup may generate the following message:

Internal Error: File list initialization failed. Choose OK to terminate Setup.


CAUSE

Setup queries the operating system to determine the type of device from which Setup is running. Setup uses the GetDriveType() function in the Microsoft Windows-based application programming interface (API). This function returns three possible values, as follows:

DRIVE_REMOVABLE: disk can be removed from the drive.
DRIVE_FIXED: disk cannot be removed from drive.
DRIVE_REMOTE: network drive.
If the disk drive is shared over a network, Windows reports it as a remote drive rather than a removable drive. When Setup runs from a remote drive it attempts to perform a network installation instead of a floppy disk installation.


RESOLUTION

This situation usually occurs when the target machine does not have a disk drive of the correct size. In this case, the attempt to remedy the situation by sharing a disk drive across a network is not effective. There are two methods to address this situation: copy the contents of all of the distribution disks to a network drive and install from the network (see below for more details) or contact Microsoft to obtain the correct size disks for the target system.

Visual C++ is distributed only on CD-ROM or on 3.5-inch high- density floppy disks. 5.25-inch high-density disks are available from Microsoft Customer Service. The Visual C++ package includes an order form for 5.25-inch disks. In the United States, you can contact Customer Service by phone at (800) 426-9600. Outside the United States, contact the Microsoft subsidiary or distributor that serves your country. To locate your distributor, go to the Microsoft Web site http://www.microsoft.com/worldwide/default.htm


MORE INFORMATION

If you have a network server available, you can copy the files from the Visual C++ distribution disks onto the server and run Setup from the server. If the target machine has only low-density floppy disk drives, this is the only method available to install Visual C++ on that machine.

To run Setup from a network drive, perform the following three steps:

  1. Create a directory on the server for Visual C++.


  2. For each distribution disk, perform the following three steps:

    1. Create a subdirectory for the disk. Name the subdirectory DISK1, DISK2, and so on as appropriate.


    2. Copy each disk into its corresponding subdirectory. Because some of the distribution disks contain subdirectories, use a program like the MS-DOS XCOPY utility to copy the disks and create the required subdirectories.


    3. Use the following MS-DOS commands to copy each distribution disk to the server (substitute the disk number for <n> in the code below):
      
               md disk<n>
               cd disk<n>
               {insert disk <n> in an appropriate disk drive}
               xcopy a:*.* /s
               cd ..
           




  3. On the target machine, start Windows and run Setup from the DISK1 subdirectory on the server.


Additional query words: 1.00


Keywords          : kbsetup kb16bitonly vc10setup 
Version           : 1.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: August 3, 1999