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

Feature request: Implement more powerful compression options

Open LorenDB opened this issue 1 year ago • 2 comments

I'm porting a project that previously used an NSIS installer to be packaged with MSIX instead. Unfortunately, the installer size has doubled from ~350 MB to ~700 MB. I would like to see an option to allow more powerful compression when building an MSIX package. I'd suggest adding support for 7-Zip's LZMA2 algorithm, as it provides much better compression than the ZIP format (which is what is currently used IIUC).

Additionally, I'd like to at least see an option to increase compression intensity; while some projects can afford to use more space to reduce the decompression CPU time, my use case swings the other way.

LorenDB avatar Jul 18 '24 18:07 LorenDB

I second this request. Being able to define the compression level in the publish profile files (.pubxml) along the lines of <CompressionLevel>High</CompressionLevel> would be really useful

WideDopple avatar Dec 17 '24 17:12 WideDopple

I agree, it would be nice to have an option like this.

We have an MSI that is 700MB, an the MSIX package with the exact same files is 1002MB. Using the highest compression that the Wix Tool set gives to make the MSI package.

I think MakeAppx.exe does not bother to compress binaries like, .dlls or .exes & performs only fast compression on the remaining files but the MSIX build time is several minutes faster than the MSI build....

psycorp avatar Jan 06 '25 23:01 psycorp