How can i extract .cab files in python?
I had the same problem last week, so I implemented it in python. Comments, additions and especially craving requests are welcome: https://github.com/hughsie/python-cabarchive
Oddly enough, msilib can create or add .CAB files, but not extract them. :(
However, hachoir - parser can apparently read and edit cabinets. (I did not use it, though, so I could not tell you how suitable it is or not!)
, , Windows, , .
:
Microsoft Windows provides two command line tools for creating and extracting .cab files. They are MAKECAB.EXE (included with Windows packages such as 'ie501sp2.exe' and 'Orktools.msi'; also available from the SDK, see below) and EXTRACT.EXE (attached to the installation CD), respectively. Windows XP also provides the EXPAND.EXE command.
Source: https://habr.com/ru/post/1749590/More articles:How to get the executable directory of a C program using the independent plataform method? - cPHPExcel writes Excel and saves on server? - phpC #: custom delete action - c #service broker - sqlΠΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠ΅Π½ΠΈΡ rowID Π΄Π»Ρ ΡΠ»Π°ΠΆΠΊΠ° "checked" Π² GridView Π² ASP.Net - c#ΠΡΠΎΠ΅ΠΊΡΡ Ρ ΠΎΡΠΊΡΡΡΡΠΌ ΠΈΡΡ ΠΎΠ΄Π½ΡΠΌ ΠΊΠΎΠ΄ΠΎΠΌ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡ Π³ΠΈΠ±ΠΊΠΈΠ΅ ΠΌΠ΅ΡΠΎΠ΄Ρ ΠΈΠ»ΠΈ ΠΏΡΠΎΠ±ΠΎΠ²Π°Π»ΠΈ ΠΈΡ - open-sourceHow to save sbyte value in byte variable? - c #Failed to get image via ImageIO.read (url) due to connection timeout - javaHow to prevent PostBack on the client side? - validationBest way to use Cursors PL / SQL packages from Pro * C - oracleAll Articles