Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAB Files

Status
Not open for further replies.

mans

Programmer
Mar 18, 2000
136
AU
Hello,

I am using the Package and Deployment Wizard in VB6. Rather than having one CAB file as part of my setup files, I would like to spilt it into a series of 2-4 CAB files instead. At the moment when I get to the CAB options menu I have 4 choices of CAB sizes, 2.88 MB being the biggest. If I wanted to split the CAB files into say around 4-5 MB rather that 2.88 MB, how can I go about it.

Thank You [sig][/sig]
 
I think you would have to do this manually. When the wizard ends, there is a folder called support in the set up folder that you select during the wizard. In here there is a .bat file that will allow you to recompile the cab file with new versions of files in your setup. This .bat file uses a .DDF file to do the creation of the cab file.

To change the process to create multiple cabs, you will have to change the .DDF file to instruct the .bat file to create multiple cabs and then change the setup.lst file to configure the setup program to run from multiple cabs - it may be easier to create a multiple disk setup and have a look at the relevant files, than create a setup for CD (basically one cab file unless you have a huge number/size of files) and try to convert this to work from multiple cabs.

When you have got around the idea of what to do, all you will have to do is decide which files you want in each cab and change the .DDF ans .lst files accordingly.

Simon [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top