Questions tagged [makecab]

MAKECAB is the default compression utility provided by Microsoft for .CAB (or cabinet) files creation.

Cabinet format is a lossless data compression and supports following compression algorithms:

  • DEFLATE - similar to Zip compression
  • Quantum compression
  • LZX
  • NONE - basically a non-compressed files united in a .CAB archive.

Useful links:

Related Microsoft command line utilities:

Cabinet extraction utilities:

6 questions
25
votes
2 answers

makecab - create a cab file from all the files in a folder

I have bunch of files in a directory. I tried following makecab but it does not include all the files in a folder into the cab file. makecab /d "C:\Users\crtorres\Documents\- SouthPacific Project 2014\- Projects\Sales Doc Center\New Region"…
torres
  • 1,283
  • 8
  • 21
  • 30
1
vote
1 answer

Use makecab to zip a whole folder

I see there is a nice way in this post How can I compress (/ zip ) and uncompress (/ unzip ) files and folders with batch file without using any external tools? to zip the folder using makecab. One problem with the above script is it can't handle…
NickOSU
  • 65
  • 2
  • 8
1
vote
1 answer

Makecab way to keep folder structure in .cab

I am trying to keep part of the folder structure in a .cab file. Anyone knows what is the right way to make it? For example, I want to make my.cab, in my.cab: kb_32\filtr.Inf, and filtr.sys But I can only get my.cab ( unzip it and see…
user1558064
  • 867
  • 3
  • 12
  • 28
1
vote
0 answers

Makecab fails when used with JSON.NET

This maybe oddest thing I've seen in my career as a developer... I have a project that is referencing JSON.NET so that I can deserialize a JSON string. I have another project (InstallShield project) that packages this application in a setup.exe…
dcinadr
  • 665
  • 2
  • 7
  • 24
0
votes
1 answer

batch file to makecab file with password and extract it using password

i want batch file to make cab file using makecab with password and extract it using the same password (i want the two codes alone) first code: makecab /add %USERPROFILE%\DESKTOP\M.TXT M.zip /P:12345 second code: makecab /extract…
user3752270
  • 99
  • 2
  • 10
0
votes
1 answer

SQL Server 2012 SP1 Reporting Services Web Parts cabinet file broken

The RSWebParts.cab file provided by Microsoft in the SQL Server 2012 SP1 Reporting Services Add-In For Sharepoint is broken. Its extracted file structure does not match its manifest or its INF file and so when you attempt to install it you received…
Kyle Hale
  • 7,912
  • 1
  • 37
  • 58