Modifying .CAB (cabinet) files

Sep 15, 2010 at 9:58 AM

I am trying to use DotNetZip to modify the contents of a .CAB file that is built by a Visual Studio "Smart Device CAB Project" project.

My understanding is that .CAB files are simply zip files with a different extension. However, although I can use (for example) WinRAR to open and modify the CAB I am unable to do so with DotNetZip because it doesn't recognise it as a valid zip file.

Does anyone have any suggestions?

Coordinator
Sep 19, 2010 at 6:32 PM

No, I believe your understanding is mistaken.  A CAB file is not a ZIP file.  They are similar formats in intent, but they are distinct.  

And no, I don't have suggestions on how to operate on or modify CAB files, beyond using the tools in the Windows SDK (Makecab.exe and so on).  I don't think DotNetZip will help you.