KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q190077: HOWTO: Set Number of .CAB’s in Setup.lst After Repackaging

Article: Q190077
Product(s): Microsoft Visual Basic for Windows
Version(s): 6.0
Operating System(s): 
Keyword(s): kbwizard kbAppSetup kbVBp kbVBp600 kbGrpDSVB kbDSupport
Last Modified: 11-JAN-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual Basic Professional Edition for Windows, version 6.0 
- Microsoft Visual Basic Enterprise Edition for Windows, version 6.0 
-------------------------------------------------------------------------------

SUMMARY
=======

When repackaging cabinet files (.CAB) using the batch program located in the
Support directory, you can encounter errors when installing the application.

MORE INFORMATION
================

When using the Package and Deployment Wizard (PDW) to package an application for
distribution, the PDW creates a Support subdirectory in the directory used by
the PDW to package the application. This subdirectory contains a batch file
named after the main application EXE. For example, if the application is named
MyApp.Exe, then the batch file will be named MyApp.bat. This batch file can be
run to recreate the cabinet files (.CAB) created by the PDW.

Once the .CAB files have been created, you may need to open the Setup.lst file
for the application to reflect the correct number of .CAB files created. The
Setup.lst file is located one directory up from the batch file, in the main
directory created by the PDW. You can view this text file in Notepad.exe or any
text editor.

To ensure the PDW knows of the existence of all .CAB files, locate the following
line in the [BootStrap] section:

     Cabs=#

where # is the number of .CAB files necessary to distribute the application.

If this entry does not exist or is not the correct number, add or modify the
entry to reflect the correct number of .CAB files.

REFERENCES
==========

For additional information, please see the following article in the Microsoft
Knowledge Base:

  Q189743 : INFO: Description of Setup.lst Sections

Additional query words:

======================================================================
Keywords          : kbwizard kbAppSetup kbVBp kbVBp600 kbGrpDSVB kbDSupport 
Technology        : kbVBSearch kbAudDeveloper kbZNotKeyword6 kbZNotKeyword2 kbVB600Search kbVBA600 kbVB600
Version           : :6.0
Issue type        : kbhowto

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.