Where can I get the cabarc utility?
Asked Answered
Z

6

28

I'm trying to compile a program which uses cabarc.exe, but I don't have cabarc.exe. The problem is that the Microsoft Cabinet SDK is no longer available so I can't get it from there either.

Where can I get this file?

P.S. I'm looking for a download from a trusted source such as microsoft.com

Zygote answered 29/7, 2010 at 11:21 Comment(0)
Z
25

It appears that the cabarc.exe utility has been replaced with makecab.exe, which comes with Windows [source].

It should be located in:

  • C:\WINDOWS\system32

The cabarc documentation can be found here.

The makecab documentation can be found here.

Zygote answered 29/7, 2010 at 22:21 Comment(4)
Note that makecab produces a lot of extra artifacts that cabarc does not, such as a disk1/ directory, a setup.inf and a setup.rpt file.Sidewalk
If you want to avoid getting the extra directories and setup files, you must add directives .Set DiskDirectoryTemplate=. .Set InfFileName=NUL .Set RptFileName=NUL in the .ddf file.Sidewalk
It also works to set the directive variables on the makecab command line, e.g. makecab /D DiskDirectoryTemplate=. /D InfFileName=NUL /D RptFileName=NULStaceestacey
makecab has a different command line syntax, so it won't work as a drop-in replacement. cabarc command line, makecab command line.Metropolitan
S
17

cabarc.exe is available as a part of the Windows XP Service Pack 2 Support Tools.

You can extract only this utility using commands like these (if you don't run XP):

WindowsXP-KB838079-SupportTools-ENU.exe /C /T:%TEMP%
extract /E %TEMP%\support.cab cabarc.exe
Sidewalk answered 12/11, 2010 at 20:24 Comment(4)
On Windows 7 64bit I wasn't able to execute the extract portion, so after extracting support.cab I just "unzipped" it with WinRAR and found cabarc.exeYoungling
If you have 7-zip installed, you can extract them directly: 7z e WindowsXP-KB838079-SupportTools-ENU.exe support.cab and then 7z e support.cab cabarc.exeSidewalk
If you use the GUI version of 7-zip, you can also open the *.exe by right clicking and selecting "Open Inside", then double click into the "support.cab" and voila.Calcariferous
Windows Server 2003 Support Tools also contains cabarc.exe (version 5.2.3790.0)Lukey
S
3

You can download the CabSDK from here:

Download the Microsoft Cabinet SDK version 4.71.410.0

Stipendiary answered 28/1, 2011 at 10:52 Comment(0)
E
3

In Windows 7 (and possibly Vista) instead of extract you use expand. The syntax is slightly different, but see below for the one that worked for me. Replace %TEMP% in the second command with wherever you want the cabarc.exe file to end up.

WindowsXP-KB838079-SupportTools-ENU.exe /C /T:%TEMP%

expand %TEMP%\support.cab -F:cabarc.exe %TEMP%

Edgington answered 21/1, 2013 at 20:21 Comment(0)
M
2

You can find cabarc.exe in the Internet Explorer Administration Kit.

Strangely though, IEAK 11 has cabarc.exe version 5.0.2147.1, while IEAK 10 has version 6.2.9200.16521.

Mayemayeda answered 10/5, 2014 at 20:27 Comment(0)
C
0

For Windows 8 and Windows 8.1 use the Windows ADK

Download and install the Windows ADK from this website.

for the expand.exe command refer to http://technet.microsoft.com/en-us/library/hh825253.aspx

The destination directory has to exist before executing the expand command. For example:

expand Dell-WinPE-Drivers-A02.CAB Dell-WinPE-Drivers-A02 -f:*

Catchup answered 31/10, 2013 at 15:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.