Софт

Что такое CAB-файл?

CAB-файлы в Windows 10

Файл с .CAB расширением файла является файл для Windows Cabinet (они раньше называли Алмазные файлы). Это сжатые файлы, в которых хранятся данные, относящиеся к различным установкам Windows, которые могут включать драйверы устройств или системные файлы .

Функция Pack and Go программы Microsoft Publisher позволяет создавать CAB-файлы с расширением PUZ. В нем есть все, что включено в документ, в том же формате архива, что и в CAB, поэтому их можно рассматривать как файлы CAB.

CAB-файлы в Windows 10

Программа установки InstallShield также создает файлы с расширением CAB, но они не связаны с форматом файлов Windows Cabinet.

Некоторые устройства могут использовать расширение файла CAB для хранения файлов прошивки .

Как открыть файлы CAB

Открытие файла Windows Cabinet в Windows автоматически запускает файл как архив, чтобы вы могли видеть, что внутри. Windows по существу рассматривает это как папку, и делает это автоматически; Вам не нужно скачивать CAB для Windows.

Если у вас есть файл PUZ, полученный от Microsoft Publisher, вы можете открыть его с помощью любого из только что упомянутых экстракторов файлов. Если эти программы не распознают расширение файла PUZ, сначала откройте программное обеспечение для распаковки файла, а затем найдите файл PUZ или измените расширение файла .PUZ на .CAB и повторите попытку.

InstallShield CAB files aren’t the same as Windows Cabinet files but they can be extracted with unshield.

Installing CAB Files in Windows

dism /online /add-package /packagepath:"C:\files\cabname.cab"

Don’t press Enter until you’ve written the whole command. Regardless of any breaks in the command that you see above, only include spaces until you reach the very end.

You shouldn’t use the DISM command to install language packs, but instead the lpksetup.exe tool, like this:

  1. Open the Run dialog box with the Win+R keyboard shortcut.

  2. Enter lpksetup (the first letter is a lowercase L).

  3. Select Install display languages.

  4. Choose Browse to locate and select the CAB file.

  5. Select Next.

  6. Wait for the whole process to finish. It might take a while.

  7. You can close out of the Installing display languages screen when the Progress says «Completed.»

To switch to the new language in Windows 10, open Settings and then navigate to Time & language, then choose the Region and language tab on the left. In older versions of Windows, it’s Control Panel > Clock, Language, and Region > Language. Finally, select the language you want to use and follow the directions shown, if any.

How to Convert a CAB File

There aren’t any file converter programs we’re aware of that can do a clean CAB to MSI conversion. However, you might find help from other InstallShield users in the Flexera Community.

WSP files are SharePoint Solution Package files used by Microsoft SharePoint and compressed in the CAB format. You can rename the WSP file to CAB and open it like you’d a Windows Cabinet file.

You can convert CAB to EXE with IExpress Wizard, a tool included in Windows. Open the Run dialog box with the Win+R keyboard shortcut and then type iexpress.

If you need to convert CAB to KDZ to get an Android firmware file in the right format, follow the instructions at BOYCRACKED.

More Information on the CAB Format

Windows might compress a CAB file with DEFLATE (like most ZIP files), Quantum, or LZX since the format supports all three compression algorithms.

Every CAB archive is compressed as a whole instead of each file individually. A CAB archive can hold up to 65,535 CAB-folders, and those folders can contain an equal number of files.

When a CAB file is actually used by an installer, the files contained within it are extracted on an as-needed basis and in the order that they’re stored in the CAB file.

A large file can be made into multiple CAB files so long as no more than 15 files span to the next CAB file. This means that you could have up to 15 files in one CAB file that span to the next CAB file in the series, and that one could even have up to 15.

CAB files are recognized by the first four bytes. If you open a CAB file as a text file with a text editor, you’ll see «MSCF» as the very first four letters.

You can make a CAB file with makecab.exe, which is included in Windows. Running a command like this in Command Prompt would compress the file into a CAB archive:

makecab.exe C:\files\program.jpg C:\files\program.cab 

You can read more on the Windows Cabinet file format from Microsoft’s Windows Dev Center and Microsoft Cabinet Format pages.

Can You Delete CAB Files?

It might be tempting to delete CAB files from your computer when you see dozens or even hundreds of them in one folder. What’s extremely important before deciding this is to understand where the CAB files are and whether or not they’re important.

For example, CAB files in the system32 folder should be kept no matter what. Trying to decipher what’s important in here can be really confusing, and making a wrong decision could cause problems later on since Windows might need the CAB file you deleted to fix a corrupted file.

However, CAB files that are related to iTunes, DirectX, or some other third-party program can probably be safely deleted without causing system damage, but they might make the program stop working or prevent certain tasks from running. If the program stops working after deleting the CAB files, just repair it or reinstall it, but chances are that these kinds of CAB files are only temporary.

Due to the nature of what CAB files are, it’s common to see them within the setup files of a program. For example, the Microsoft Office installer includes several CAB files, some of them pretty large. If these are removed, it would corrupt the installer and you wouldn’t be able to use those setup files to install MS Office.

Some software will dump cab_xxxx files into the C:\Windows\Temp\ folder while installing updates or doing some other system related task. It’s completely safe to remove CAB files in this location unless your computer is actively updating or installing software (since they might be being used at that time).

If you can’t delete CAB files because they keeping regenerating (e.g., the C:\Windows\Logs\CBS\ folder keeps making LOG and CAB files), try deleting the oldest LOG file there (or all of them) and then remove every CAB file from C:\Windows\Temp\.

Похожие посты
Софт

CrashPlan для малого бизнеса

Софт

Что такое файл AAF?

Софт

Что такое файл BAK?

Софт

Обзор igHome: полная замена iGoogle