cab entpacken (cabinet files)
Verfasst: Freitag 22. Dezember 2006, 10:21
Ich möchte mit Python eine cab-Datei entpacken können, konnte dazu aber nichts Natives finden. In Python 2.5 ist die neue msilib hinzugekommen. Diese kann aber offensichtlich nur cab Dateien erstellen:
Wie ich hier lesen konnte, gibt's mit PyLZMA einen LZMA-Wrapper für Python. Das Programm 7-Zip beherrscht zwar das Dekomprimieren von .cab Dateien, aber ich weiß nicht ob das durch den LZMA-Algo abgedeckt wird... also weiß ich auch nicht, ob PyLZMA .cab's entpacken kann.http://docs.python.org/lib/module-msilib.html hat geschrieben:36.1 msilib -- Read and write Microsoft Installer files
Availability: Windows.
New in version 2.5.
The msilib supports the creation of Microsoft Installer (.msi) files. Because these files often contain an embedded ``cabinet'' file (.cab), it also exposes an API to create CAB files. Support for reading .cab files is currently not implemented; read support for the .msi database is possible.