BUG: Multiple "Please Insert Disk" Messages When Installing VB6 Application

ID: Q216158


The information in this article applies to:


SYMPTOMS

When trying to install a distribution set built by the Package and Deployment Wizard (PDW), you receive one of the following messages:

Please insert disk <number>
-or-

Cannot find file '<file or folder name>'. Please insert disk '<number>'
NOTE: <file or folder name> is the name of a setup file or the folder that contains the setup files and <number> is either the number of a diskette or blank.

If you click OK, you are prompted to insert a disk again.


CAUSE

There are two known causes of this problem:


RESOLUTION

Testing for Left-Over Setup Files

  1. In the Windows folder (or Winnt folder on Windows NT) on the target computer, look for a copy of each .cab file from your Setup. If found, delete the .cab file(s).


  2. In the Windows\Temp folder (or the folder specified by the TEMP environment variable in Windows NT), look for a subfolder named Msftqws.pdw. If found, delete the subfolder.


  3. Run Setup again.


Removing Space from CAB File Names

NOTE: The following steps remove the space from the names of your existing .cab files. If you create .cab files using the PDW again later, the problem reoccurs. Instead, you may want to remove any spaces from the first six characters of your project (.vbp) and executable (.exe) file names to avoid this problem in future PDW sessions for this application.
  1. On the development computer, open the Package\Support\<project name>.ddf file in a text editor, such as Notepad. Change the following line:
    
       .Set CabinetNameTemplate="<name with space>*.CAB" 

    to:

    
       .Set CabinetNameTemplate="<new name without space>*.CAB" 

    NOTE: <name with space> is the current name that contains a space and <new name without space> is a new name that is six characters long without a space. For example, if the existing CabinetNameTemplate is set to "Test A*.CAB", you should change it to something like "TestAp*.CAB".


  2. Save the changes to the .ddf file and close it.


  3. Double-click <application name>.bat in the Package\Support folder (where <application name> is the name of your application's .exe file) to create new .cab files in the Package folder.


  4. Delete the old .cab files from the Package folder.


  5. Open Setup.lst in a text editor, such as Notepad, and change the following line:
    
       CabFile=<old name of first CAB>.CAB 

    to:

    
       CabFile=<new name of first CAB>.CAB 

    NOTE: <old name of first CAB> is the name of your old first .cab file that contained a space and <new name of first CAB> is the new name of your first .cab file.


  6. Run Setup again.



STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:


Keywords          : kbwizard kbAppSetup kbCAB kbVBp kbVBp600bug kbGrpVB 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 21, 1999