Skip to content

Commit 8862f3f

Browse files
YusufMntmclaude
andcommitted
feat(archives): open Windows Installer packages (.msi) with their real names
An .msi is an OLE compound file holding the installer's database and, usually, the files packed in CAB archives named by internal keys, so 7-Zip alone shows streams and keys instead of the files (#1960). Filee now reads the package itself: a small streaming compound-file reader, the MSI string pool and the Directory, Component, File and Media tables. Each file gets its long name and the folder layout of an administrative image (the source part of DefaultDir), checked by ArchiveSafety like any archive entry. Embedded cabinets (#name) and bare-named cabinets beside the package are unpacked through 7-Zip; media without a cabinet take the loose files of an uncompressed image. Nothing is run. A package with no files to take out says so (error.msi_no_files, in all 23 languages). msi is a read-only Specialist archive in the developer field, learned by the archives donut in schema 112. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b092983 commit 8862f3f

41 files changed

Lines changed: 2035 additions & 14 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ To undo it, remove the entries in Windows Security → App & browser control →
184184
| **Video**⁵: MP4, MOV, MKV, WEBM, AVI, WMV, FLV, MPEG, Video CD (DAT), TS, M2TS, 3GP, OGV, VOB, …;<br>Wisenet WAVE / Nx Witness exports (NOV), DVD-Video disc images (ISO: choose the title, audio and subtitle tracks) read | MP4 (H.264, HEVC, AV1), WEBM, MOV, MKV, AVI, GIF, APNG, WEBP, MP3, M4A, 720p, split into parts;<br>subtitle tracks kept (MKV, MP4, MOV, WebM);<br>subtitles (SRT, ASS, WebVTT) |
185185
| **Audio**⁵: MP3, M4A, AAC, WAV, FLAC, OGG, OPUS, WMA, AIFF, AMR, APE, WavPack, TTA, DSD (DSF, DFF), DTS, AC3, E-AC3, …;<br>tracker modules (XM, IT, S3M) read | MP3, M4A (AAC, ALAC), M4R (iPhone ringtone), WAV, FLAC, OGG, OPUS, AAC, WavPack, TTA, W64, AC3, E-AC3 |
186186
| **Subtitles**: SRT, ASS/SSA, WebVTT, SAMI (SMI), LRC, KRC, TTML, MicroDVD, SCC | each other as UTF-8 (Korean CP949 files read correctly) |
187-
| **Archives**: ZIP, ANSYS Workbench (WBPZ), 7Z, RAR, TAR, TAR.GZ, TAR.BZ2, TAR.XZ, TAR.ZST, GZ, ZST, ISO, CAB, DMG, ALZ, EGG, Garry's Mod addon (GMA), Valve pak (VPK), files packed into a Source map (BSP), …;<br>JAR, NuGet (NUPKG), Android packages (APKS, XAPK, APKM, AAB), Adobe extensions (ZXP), Windows app packages (MSIX, APPX), BIN/CUE (one data track) read | extract, ZIP, 7Z, TAR, TAR.GZ, GMA;<br>any files → one ZIP; folders → ZIP, ISO (Joliet or UDF 2.01), GMA; BIN/CUE → ISO |
187+
| **Archives**: ZIP, ANSYS Workbench (WBPZ), 7Z, RAR, TAR, TAR.GZ, TAR.BZ2, TAR.XZ, TAR.ZST, GZ, ZST, ISO, CAB, DMG, ALZ, EGG, Garry's Mod addon (GMA), Valve pak (VPK), files packed into a Source map (BSP), …;<br>JAR, NuGet (NUPKG), Android packages (APKS, XAPK, APKM, AAB), Adobe extensions (ZXP), Windows app packages (MSIX, APPX), Windows Installer packages (MSI), BIN/CUE (one data track) read | extract, ZIP, 7Z, TAR, TAR.GZ, GMA;<br>any files → one ZIP; folders → ZIP, ISO (Joliet or UDF 2.01), GMA; BIN/CUE → ISO |
188188
| **CAD**: DWG, DXF<br>Gerber PCB layers (GBR, GTL, GBL, GTO, …) read;<br>G-code of 3D printers and CNC machines (GCODE, GCO, NGC) read | PDF, SVG, PNG, DWG ↔ DXF;<br>G-code → toolpath (from above or isometric) or the slicer's preview |
189189
| **Fonts**: TTF, OTF, WOFF, WOFF2, EOT;<br>FON (Windows bitmap fonts) read | each other;<br>FON → one font per size |
190190
| **Data**: JSON, JSON Lines, YAML, TOML, XML<br>vCard, iCalendar<br>Color palettes: GIMP (GPL), Adobe Color Table (ACT);<br>PAL (raw, JASC, RIFF) read<br>NEXUS, FASTA, PHYLIP (sequence alignments) | each other, CSV and XLSX (tables);<br>vCard, iCalendar ↔ CSV;<br>palettes → GPL, ACT, HEX list (TXT, JSON), swatch picture (PNG, SVG, PDF, …);<br>NEXUS, FASTA, PHYLIP ↔ each other |

‎docs/ENGINES.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Filee chooses engines automatically. Settings → *Engines* shows their status,
3434
| Pictures to 3D relief | built in | **PNG, JPG, WEBP, … (every picture ImageMagick reads) → GLB, glTF, STL, OBJ, 3MF, PLY**: a relief, brighter areas higher |
3535
| **Geospatial vector data** | built in | **GeoJSON, KML, KMZ, GPX, Shapefile ↔ each other and CSV** (longitude / latitude or WKT); Garmin FIT (activities) and OpenStreetMap XML (`.osm`), both read only, → each of them and CSV; projected Shapefiles (UTM, Web Mercator, Lambert, Albers) are converted to WGS 84; through CSV to XLSX, JSON, … (see below) |
3636
| rhwp | bundled with the installer (`engines/rhwp`, with the Microsoft C++ runtime, see below) | HWP/HWPX → PDF, **HWP → HWPX, HWPX → HWP** |
37-
| Archives (7-Zip) | bundled with the installer (`engines/7zip`, ~2.5 MB) + built-in readers | ZIP (including ANSYS Workbench WBPZ), 7Z, RAR, TAR (+ GZ/BZ2/XZ/Z/7Z/LZ), CAB, ISO, DMG, split (.001), Minecraft and Modrinth packs, Garry's Mod addons (GMA), Valve paks (VPK), the files packed into Source maps (BSP), … **→ folder, ZIP, 7Z, TAR, TAR.GZ/BZ2/XZ, the packs, GMA**; ALZ, EGG, lzip, GMA, VPK read in-process; "Compress into one archive" for any files |
37+
| Archives (7-Zip) | bundled with the installer (`engines/7zip`, ~2.5 MB) + built-in readers | ZIP (including ANSYS Workbench WBPZ), 7Z, RAR, TAR (+ GZ/BZ2/XZ/Z/7Z/LZ), CAB, ISO, DMG, split (.001), Minecraft and Modrinth packs, Garry's Mod addons (GMA), Valve paks (VPK), the files packed into Source maps (BSP), Windows Installer packages (MSI), … **→ folder, ZIP, 7Z, TAR, TAR.GZ/BZ2/XZ, the packs, GMA**; ALZ, EGG, lzip, GMA, VPK, MSI read in-process; "Compress into one archive" for any files |
3838
| LibreOffice + H2Orestart + Java | **optional download** (~420 MB, 1.3 GB on disk) | older and rare formats only: DOC, XLS, PPT, RTF and OpenDocument → PDF and to each other, output as DOCX/ODT/ODS/ODP; HWP/HWPX → DOCX/ODT; read-only formats (see below) → PDF and their kind's editable formats; FODT, OpenDocument templates (OTT, OTS, OTP) and XLT out; SVG → EMF/WMF/ODG, a PDF page → SVG |
3939
| Pandoc | **optional download** (~42 MB, 240 MB on disk) | Markdown ↔ DOCX/ODT/RTF, DOCX/ODT/HTML/RTF → Markdown, HTML ↔ DOCX/ODT, markup languages (reStructuredText, LaTeX, Org, AsciiDoc, Typst, MediaWiki, DocBook, Jupyter, Textile, man, OPML) ↔ Markdown/HTML/DOCX/ODT and each other (and → RTF, EPUB, TXT), Markdown and markup → PPTX slides |
4040
| Ghostscript | **optional download** (~20 MB, 31 MB on disk) | EPS/PS → PDF, PDF → EPS/PS, PostScript-based AI/AIT → PDF (images through PDF and PDFium); smaller PDFs when a preset asks for it; PDF/A-2b for PDF/A presets; renders CMYK PDF/AI pages for CMYK JPG/TIFF |
@@ -2007,6 +2007,7 @@ bundled with the installer), never a 7-Zip installed on the PC. It runs as a sep
20072007
| GMA (Garry's Mod addon) | Filee: versions 1–3, CRCs checked, an `addon.json` written beside the files | Filee, as gmad does (see below) |
20082008
| BSP (Source engine map), its packed files | Filee copies the pakfile lump (a ZIP) out, 7-Zip unpacks it | — |
20092009
| VPK (Valve pak) | Filee: versions 1 and 2, `_dir.vpk` with its `_000.vpk` … parts, CRCs checked; a PS Vita `.vpk` (a ZIP) by 7-Zip | — |
2010+
| MSI (Windows Installer) | Filee reads the package's tables (real names and folders), 7-Zip unpacks its CABs; nothing is run | — |
20102011

20112012
- **Extract** (target `folder`): the archive is unpacked into a hidden folder next to the result and moved into place
20122013
when complete. When the archive holds exactly one top folder, its content becomes the result folder (`photos.zip`
@@ -2066,6 +2067,8 @@ bundled with the installer), never a 7-Zip installed on the PC. It runs as a sep
20662067
- **Windows app packages** (#1521, read only): `.msix`, `.appx`, `.msixbundle` and `.appxbundle` are ZIP-based
20672068
packages. Extract them or convert them to archive formats; packages inside a bundle remain files. The extracted
20682069
contents are not an installer. Encrypted `.emsix` and `.eappx` packages are not supported.
2070+
- **Windows Installer packages** (`.msi`, #1960, read only): Filee reads the compound file's database tables to recover
2071+
real file names and folder layout, and unpacks embedded or neighbouring CAB archives through 7-Zip. Nothing is run.
20692072
- **Compress into one archive** (`Archive.CombineIntoOne`, the "One ZIP" preset): `JobQueue` hands all dropped files,
20702073
of any type and unconverted, to `IFileCombiner` (implemented by this engine). The archive is named after the first
20712074
file with the output pattern; files with the same name become `name (2).ext`. ZIP, TAR and TAR.GZ need no 7-Zip.

‎src/Filee.App/Assets/i18n/ar.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
"error.no_route": "لا يوجد محرك يستطيع إجراء هذا التحويل",
121121
"error.msi_busy": "يجري تثبيت آخر الآن. حاول مرة أخرى بعد انتهائه",
122122
"error.msi_link": "تعذّر على Windows Installer فتح الحزمة: قد يكون أحد المجلدات في المسار رابطًا إلى محرك أقراص آخر",
123+
"error.msi_no_files": "لا تحتوي حزمة Windows Installer هذه على ملفات يمكن لـ Filee استخراجها. قد تكون ملفاتها في ملفات .cab منفصلة ليست بجانبها، أو أنها تغيّر الإعدادات فقط.",
123124
"error.cannot_turn": "التدوير والانعكاس متاحان للصور فقط",
124125
"error.images_only": "متاح للصور فقط",
125126
"error.no_transparency": "هذا التنسيق لا يدعم الشفافية، لذا لا يوجد ما يُقص",

‎src/Filee.App/Assets/i18n/bn-BD.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"error.no_route": "কোনো ইঞ্জিন এই রূপান্তর করতে পারে না",
135135
"error.msi_busy": "আরেকটি ইনস্টলেশন চলছে। সেটি শেষ হলে আবার চেষ্টা করুন",
136136
"error.msi_link": "Windows Installer প্যাকেজটি খুলতে পারেনি: পথের কোনো ফোল্ডার অন্য ড্রাইভে লিঙ্ক করা থাকতে পারে",
137+
"error.msi_no_files": "এই Windows Installer প্যাকেজে Filee বের করতে পারে এমন কোনো ফাইল নেই। এর ফাইলগুলো আলাদা .cab ফাইলে থাকতে পারে যা এর পাশে নেই, অথবা এটি শুধু সেটিংস পরিবর্তন করে।",
137138
"error.cannot_turn": "ঘোরানো এবং উল্টানো কেবল ছবির ক্ষেত্রেই কাজ করে",
138139
"error.images_only": "কেবল ছবির ক্ষেত্রেই কাজ করে",
139140
"error.no_transparency": "এই ফরম্যাটে কোনো স্বচ্ছতা নেই, তাই ট্রিম করার কিছু নেই",

‎src/Filee.App/Assets/i18n/de.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
"error.no_route": "Kein Modul kann diese Konvertierung ausführen",
121121
"error.msi_busy": "Eine andere Installation läuft gerade. Versuche es erneut, wenn sie fertig ist",
122122
"error.msi_link": "Windows Installer konnte das Paket nicht öffnen: Ein Ordner auf dem Weg ist vielleicht ein Link auf ein anderes Laufwerk",
123+
"error.msi_no_files": "Dieses Windows-Installer-Paket enthält keine Dateien, die Filee entpacken kann. Die Dateien liegen vielleicht in separaten .cab-Dateien, die nicht danebenliegen, oder es ändert nur Einstellungen.",
123124
"error.cannot_turn": "Drehen und Spiegeln ist nur bei Bildern möglich",
124125
"error.images_only": "Nur bei Bildern möglich",
125126
"error.no_transparency": "Dieses Format unterstützt keine Transparenz. Es gibt daher keine transparenten Ränder zum Abschneiden",

‎src/Filee.App/Assets/i18n/en.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
"error.no_route": "No engine can do this conversion",
127127
"error.msi_busy": "Another installation is running. Try again when it has finished",
128128
"error.msi_link": "Windows Installer couldn't open the package: a folder on its way may be a link to another drive",
129+
"error.msi_no_files": "This Windows Installer package has no files Filee can take out. Its files may be in separate .cab files that aren't next to it, or it only changes settings.",
129130
"error.cannot_turn": "Rotate and flip work on images only",
130131
"error.images_only": "Works on images only",
131132
"error.no_transparency": "This format has no transparency, so there's nothing to trim",

‎src/Filee.App/Assets/i18n/es.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
"error.no_route": "Ningún motor puede hacer esta conversión",
121121
"error.msi_busy": "Hay otra instalación en curso. Vuelve a intentarlo cuando termine",
122122
"error.msi_link": "Windows Installer no pudo abrir el paquete: puede que una carpeta de la ruta sea un enlace a otra unidad",
123+
"error.msi_no_files": "Este paquete de Windows Installer no tiene archivos que Filee pueda extraer. Sus archivos pueden estar en archivos .cab separados que no están junto a él, o solo cambia ajustes.",
123124
"error.cannot_turn": "Rotar y voltear solo funcionan con imágenes",
124125
"error.images_only": "Solo funciona con imágenes",
125126
"error.no_transparency": "Este formato no tiene transparencia, así que no hay nada que recortar",

‎src/Filee.App/Assets/i18n/fa.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"error.no_route": "هیچ موتوری نمی‌تواند این تبدیل را انجام دهد",
135135
"error.msi_busy": "نصب دیگری در حال اجراست. پس از اتمام آن مجدداً تلاش کنید",
136136
"error.msi_link": "Windows Installer نتوانست بسته را باز کند: ممکن است پوشه‌ای در مسیر آن پیوندی به درایو دیگری باشد",
137+
"error.msi_no_files": "این بسته Windows Installer فایلی ندارد که Filee بتواند استخراج کند. ممکن است فایل‌های آن در فایل‌های .cab جداگانه‌ای باشند که در کنار آن نیستند، یا فقط تنظیمات را تغییر دهد.",
137138
"error.cannot_turn": "چرخش و وارونه‌سازی فقط روی تصاویر کار می‌کند",
138139
"error.images_only": "فقط روی تصاویر کار می‌کند",
139140
"error.no_transparency": "این فرمت شفافیت ندارد، بنابراین چیزی برای برش حاشیه وجود ندارد",

‎src/Filee.App/Assets/i18n/fr.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
"error.no_route": "Aucun moteur ne peut effectuer cette conversion",
127127
"error.msi_busy": "Une autre installation est en cours. Réessayez quand elle sera terminée",
128128
"error.msi_link": "Windows Installer n'a pas pu ouvrir le paquet : un dossier du chemin est peut-être un lien vers un autre lecteur",
129+
"error.msi_no_files": "Ce paquet Windows Installer ne contient aucun fichier que Filee puisse extraire. Ses fichiers se trouvent peut-être dans des fichiers .cab séparés qui ne sont pas à côté, ou il ne fait que modifier des paramètres.",
129130
"error.cannot_turn": "La rotation et le retournement ne s'appliquent qu'aux images",
130131
"error.images_only": "Ne s'applique qu'aux images",
131132
"error.no_transparency": "Ce format n'a pas de transparence : il n'y a rien à rogner",

‎src/Filee.App/Assets/i18n/hi.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
"error.no_route": "कोई भी इंजन यह कन्वर्ज़न नहीं कर सकता",
121121
"error.msi_busy": "कोई दूसरा इंस्टॉलेशन चल रहा है। उसके पूरा होने के बाद फिर से कोशिश करें",
122122
"error.msi_link": "Windows Installer पैकेज नहीं खोल सका: रास्ते का कोई फ़ोल्डर किसी दूसरी ड्राइव का लिंक हो सकता है",
123+
"error.msi_no_files": "इस Windows Installer पैकेज में ऐसी कोई फ़ाइल नहीं है जिसे Filee निकाल सके। इसकी फ़ाइलें अलग .cab फ़ाइलों में हो सकती हैं जो इसके पास नहीं हैं, या यह केवल सेटिंग्स बदलता है।",
123124
"error.cannot_turn": "घुमाना और पलटना केवल इमेज पर काम करता है",
124125
"error.images_only": "केवल इमेज पर काम करता है",
125126
"error.no_transparency": "इस फ़ॉर्मैट में पारदर्शिता नहीं है, इसलिए काटने को कुछ नहीं है",

0 commit comments

Comments
 (0)