tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

not reducing as much as expected

Open asdf-hash opened this issue 11 months ago • 4 comments

it only shaved off around .7 GB(5.17 remaining) on a freash install of the iso from the official ms website. quick search shows it should be 3.3gb. pls help

asdf-hash avatar Jan 08 '25 21:01 asdf-hash

  1. Cleancomponentstore
  2. Export image

wealstarr avatar Jan 12 '25 12:01 wealstarr

The reason was the change introduced from https://github.com/ntdevlabs/tiny11builder/commit/bba078c34bd2108188a09653ea1de32edffe7a93. I changed the compression type from Fast(which makes lot larger wim file) to Recovery(reverting to using dism) from https://github.com/ntdevlabs/tiny11builder/pull/319#discussion_r1917556872, changing the script directly should reduce the size of the produced iso file.

P.S.: From my experience this script produces larger iso compared to the ones from the Internet Archive.

Snshadow avatar Jan 15 '25 08:01 Snshadow

@Snshadow I wrote this PR to follow the idea of @ntdevlabs to move away from cmdline to PowerShell.

unfortunately the compression type is not available in PowerShell. This is by design.

After all, we could change this line back to dism (as an exception), there are few other exceptions still using dism.

possibly related: #321

How to proceed?

Karl-WE avatar Feb 17 '25 14:02 Karl-WE

fyi @ntdevlabs @Snshadow filed PR #319 that would be a fast fix. With this we could address at least two open issues and one PR

Karl-WE avatar Feb 17 '25 15:02 Karl-WE