If you specifically need an .iso file for archival purposes:
You can create a .json file to automate which features get installed across multiple machines. visual studio 2022 offline installer iso
Once the folder (layout) is fully downloaded, you can use any third-party tool like or AnyBurn to wrap that folder into an .iso file for distribution. Installing Visual Studio 2022 Without Internet If you specifically need an