PRB: An Unknown Error Occurred While Building the Cabinet File (196583)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q196583 SYMPTOMS
When you save a setup package to a floppy disk using the Package option of
the Package and Deployment Wizard (PDW), the following error message
appears:
An unknown error occurred while building the cabinet file
'<Project Name>.CAB'. Please verify that you have proper access to the
destination and that there is sufficient space there to create the file.
CAUSE
There is insufficient disk space to create the Package. There are 3 circumstances in which this can happen:
- You attempted to create the package directly onto a floppy drive.
- You attempted to create the package on a hard drive partition (or other mass storage media) that has insufficient free space.
- You attempted to create the package on a hard drive partition (or other mass storage media) that has sufficient free space, but the hard drive partition where the Temporary folder resides has insufficient free space for the temporary files that are being created.
The Package option of the Package and Deployment Wizard was designed to
create the setup package on the hard drive (or other mass storage media)
first. The Package and Deployment Wizard creates a Package folder that
contains the setup program files and .cab files. In addition, the Package
folder contains a Support subfolder that includes all the uncompressed
versions of the files to be distributed.
When you specify a disk drive for the destination of the Package folder,
you quickly run out of disk space because the Package and Deployment Wizard
copies the contents of the Support folder in addition to the setup files.
RESOLUTION
After you create the setup package on a hard drive (or other mass storage
media) with sufficient free space, use the Deploy option of the Package and Deployment Wizard to copy
the setup files to the disks.
STATUS
This behavior is by design.
REFERENCES
MSDN Library Visual Studio 6.0: Visual Basic Documentation; Using Visual
Basic; Programmer's Guide (All Editions); Part2: What Can You Do With
Visual Basic?; Distributing Your Applications; Application Packaging with
the Wizard
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbAppSetup kbprb kbwizard KB196583 |
---|
|