not reducing as much as expected
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
- Cleancomponentstore
- Export image
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 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?
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