msix-packaging icon indicating copy to clipboard operation
msix-packaging copied to clipboard

Feature request - unpack needs single-file / footprint-file option

Open jonwis opened this issue 5 years ago • 1 comments

Unpacking a multi-mb/multi-gb MSIX to pull out one file is wasteful. Please include a "-f" and "-ff" option, like:

# Unpack just the muffin.wasm and a group of DLLs
makemsix unpack -p file.msix -d .\output -ss -f code-assets\muffin.wasm -f appsvcimpl\*.dll

# Unpack just the catalog and manifest
makemsix unpack -p file.msix -d .\output -ss -ff codeintegrity -ff manifest

Where the "-ff" options are for the footprint files.

Option File
manifest The AppXManifest.xml for the package
blockmap The blockmap XML file
signature The signature file, if present
codeintegrity The catalog file, if present
contentgroupmap The content group map file

jonwis avatar Jun 30 '20 17:06 jonwis

Is -ff needed?

Footprint files are unique filenames; you can't put a 'content' file in an MSIX named appxmanifest.xml or signature.p7x. Filenames are unique so -f appxmanifest.xml would work equally well as -f foo.exe

Footprint files have well defined unique names, so -ff manifest as an alias for -f appxmanifest.xml seems unnecessary overkill

DrusTheAxe avatar Sep 15 '20 16:09 DrusTheAxe