Combine driver cabs?
Combine driver cabs?
In my next release, there will be a few hotfixed files which will be replacing files within the driver cabs (driver.cab and/or sp2.cab). I have a batch file which does the following:
1.) Detect the presence of sp2.cab.
2.) If it finds it, it extracts it. If it doesn't, it extracts driver.cab.
3.) Copies the fixed files into the extracted directory.
4.) Re-compresses cab file.
Here's the question I have for you guys - it wouldn't be much more work to also combine the driver cabs (assuming sp2.cab exists) while I'm at it. Should I put that into the batch file or not? Functionally, it shouldn't affect anything regarding how well the update pack works. This is simply a space/convenience factor.
What do you guys think?
1.) Detect the presence of sp2.cab.
2.) If it finds it, it extracts it. If it doesn't, it extracts driver.cab.
3.) Copies the fixed files into the extracted directory.
4.) Re-compresses cab file.
Here's the question I have for you guys - it wouldn't be much more work to also combine the driver cabs (assuming sp2.cab exists) while I'm at it. Should I put that into the batch file or not? Functionally, it shouldn't affect anything regarding how well the update pack works. This is simply a space/convenience factor.
What do you guys think?
Last edited by RyanVM on Tue Jan 25, 2005 5:52 pm, edited 1 time in total.
- Mavericks choice
- Posts: 273
- Joined: Wed Nov 24, 2004 3:39 am
- Location: Downunder
nLite will be ignoring the batch file anyway, but yes, nLite does support merging the CAB files.Bonedaddy wrote:Only question, will it still work with nLite? If there is no problem, go for it...........
more dogs than bones........
Good point.keytotime wrote:I've never had a problem merging the driver.cab. You should also make a batch file fpr people who have both sp1.cab and sp2.cab. In that case you would copy sp2.cab into sp1.cab and then that into driver.cab and then you would copy the hotfixs into driver.cab.
Yes, I've been merging the CAB files nearly since I first starting making unattended CDs over a year and a half ago.a06 wrote:yes, provided it doesnt make anything not work ("if it aint broke don't fix it")...my cd is perfect now, and i am just updating hotfixes, etc.
the cd will function the exact same way?
- RogueSpear
- Posts: 1155
- Joined: Tue Nov 23, 2004 9:50 pm
- Location: Buffalo, NY
I voted yes, but with a question and comment.
I use nLite as a part of my source creation for both CD/DVD and RIS and I do use the merge cab option. If nLite ignores the batch file, then the older files will remain? And if so, will the batch still work after an nLite operation?
I realize that both you and Nuhi got a lot going on, but the first time you two cooperated with your projects it worked out rather well. Is there a chance that this could be done again? The merging and recompressing step in nLite takes quite a while and I imagine if it essentially has to be done twice, it will take twice as long each time I start out a new project from the beginning.
I use nLite as a part of my source creation for both CD/DVD and RIS and I do use the merge cab option. If nLite ignores the batch file, then the older files will remain? And if so, will the batch still work after an nLite operation?
I realize that both you and Nuhi got a lot going on, but the first time you two cooperated with your projects it worked out rather well. Is there a chance that this could be done again? The merging and recompressing step in nLite takes quite a while and I imagine if it essentially has to be done twice, it will take twice as long each time I start out a new project from the beginning.
- RogueSpear
- Posts: 1155
- Joined: Tue Nov 23, 2004 9:50 pm
- Location: Buffalo, NY
Of course nLite won't be required. And I'll of course be updating the directions as necessary.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357
http://www.ryanvm.net/forum/viewtopic.php?t=2357
-
- Posts: 63
- Joined: Wed Jan 19, 2005 12:55 pm
- Location: Haverfordwest, Wales, UK
Hi RyanVM,
Can you forsee any OS or third-party compatibility issues from combining these cab files as you describe?
As a system builder I try to keep the installed OS's I ship as close to "vanilla" as possible to avoid compatibility issues within the OS or with any software the customer might wish to install.
If what you are proposing doesn't cause any compatibility issues then you have my vote
Kind Regards
Simon Zerafa
--
Can you forsee any OS or third-party compatibility issues from combining these cab files as you describe?
As a system builder I try to keep the installed OS's I ship as close to "vanilla" as possible to avoid compatibility issues within the OS or with any software the customer might wish to install.
If what you are proposing doesn't cause any compatibility issues then you have my vote

Kind Regards
Simon Zerafa
--
I have yet to have any issues with merging driver cabs after over a year of doing it. No files are being deleted and drvindex.inf is updated to properly reflect all the files being in the same cab, so I can't see any reason why any issues would ever arise from doing it.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357
http://www.ryanvm.net/forum/viewtopic.php?t=2357
-
- Posts: 63
- Joined: Wed Jan 19, 2005 12:55 pm
- Location: Haverfordwest, Wales, UK
Hi RyanVM,
Thanks
I voted Yes.
I will have to bow down to your superior wisdom and experience on these issues
I know from many years of Software QA (formal Software Testing) that when people say "Oh, it won't change anything" that often means the exact opposite
As a for instance, I know for a fact that there is at least one unpublished and unacknowledged MS hotfix in XP SP1 which was never released seperately relating to USB support (related to switching from Bulk to Isochronous transfers).
This issue cause my previous employers a lot of money and because of this change and they had to ship CDs' with SP1 included and tell customers to install it.
Trivial and small changes often cause the most disasterous results
Kind Regards
Simon
Thanks

I will have to bow down to your superior wisdom and experience on these issues

I know from many years of Software QA (formal Software Testing) that when people say "Oh, it won't change anything" that often means the exact opposite

As a for instance, I know for a fact that there is at least one unpublished and unacknowledged MS hotfix in XP SP1 which was never released seperately relating to USB support (related to switching from Bulk to Isochronous transfers).
This issue cause my previous employers a lot of money and because of this change and they had to ship CDs' with SP1 included and tell customers to install it.
Trivial and small changes often cause the most disasterous results

Kind Regards
Simon
Well, CAB merging is certainly something I'd call tried and tested from a QA standpoint 

Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357
http://www.ryanvm.net/forum/viewtopic.php?t=2357