问题
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
回答1:
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.
回答2:
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
回答3:
You can download the CabSDK from here:
Download the Microsoft Cabinet SDK version 4.71.410.0
回答4:
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%
回答5:
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.
回答6:
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:*
来源:https://stackoverflow.com/questions/3361928/where-can-i-get-the-cabarc-utility