Gansejunge | 1 year ago | on: Win98-quickinstall: A framework and installer to quickly install Windows 98
I stumbled upon this tool [1] recently that does not slim down the image like you might want to but gives you a lot of options what to remove via an .xml file
[1] https://schneegans.de/windows/unattend-generator/