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

ID: Q190077


The information in this article applies to:
  • Microsoft Visual Basic Professional and Enterprise Editions 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: kbDSupport kbAppSetup kbVBp600 kbdss kbVBp

Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.