Hmmm... Here's what i just got using OSCDIMG (VS 2022 layout combo : Community + Pro + Enterprise ; lang_fr-FR) Code: C:\>oscdimg -udfver200 -u2 -h -m -lVS_2022 c:\vs22 vs2022.iso OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (3000 files in 1878 directories) Scanning source tree complete (3356 files in 1900 directories) Computing directory information complete Image file is 26404225024 bytes Writing 3356 files in 1900 directories to vs2022.iso 100% complete Final image file is 26414970880 bytes Done. C:\> I haven't tried to mount and install VS from iso yet... EDIT : Erratum : My ISO contains just Community layout... GRRR Dont know whether Pro/Ent added packages may alter correct ISO generation... EDIT 2 : Pro+Ent VS 2022 layout and ISO refreshed, same oscdimg command : no error ISO mounts well from explorer (7zip only shows readme.txt UDF 2 instructions) Did not try to run any setup from this media yet...
Hello my French friend You can try my old script also :https://forums.mydigitallife.net/threads/discussion-visual-studio-2019.79150/#post-1506787
Check the ISO , the below folder name gets renamed as M Microsoft.AspNetCore.SharedFramework.6.0.6.0.0-rtm.21526.8.x64,version=17.0.31902.203,chip=x64 Command used : Code: Oscdimg -o -h -m -u2 -udfver102 -l"VS2022_Pro" DVD en_visual_studio_professional_2022_version_17.0.31903.59_x86_x64_dvd.iso Will test with -udfver200 and see if it works.
For anyone looking for the answer, I found it myself. It's called Installcleanup.exe and can be found at Program Files (x86)\Microsoft Visual Studio\Installer Start it from the CMD with the flag -f Everything runs great. I'm finally starting to see some light with this whole VS madness. Guess my laptop should go first with migrating to Server 2022 LTSC!
My command was: oscdimg -o -m -u2 -udfver102 -l"VS2022_E" "C:\VS2022\VS2022_Enterprise_en-us" "C:\VS2022\VS2022_Enterprise_17.0.0_en-us.iso" It created the iso file flawlessly, no issues. But then when trying to install it yells at me with a CRC error message. I also tried with UltraISO, giving long file name error. Did you manage to fix this? Thanks!
@N0t1s Code: oscdimg_2.56.exe -lVS_2022_LTSC E:\###\VS_2022_LTSC VS_2022_LTSC.iso -d -h -m -n -o cdimage_2.52.exe -lVS_2022_LTSC E:\###\VS_2022_LTSC VS_2022_LTSC.iso -d -h -m -n -o Just an example - you will have no CRC error. If you have multiple layout's like this (full download and some additional language pack's): you can have a friendly image output size: The magic in this context is the -o switch: -o This option will encode duplicate files only once. This uses a MD5 hashing algorithm to compare files. -oc This option will encode duplicate files only once. It does a binary compare on the files and is slower. Mandatory: -n Use to allow long file names (longer than DOS 8.3 names) -m This option is used to ignore the maximum size limit or an image. Optitional: -d Use to allow lowercase file names -h This option will include all hidden files and directories under the source path for this image. Adding oscdimg.exe x86 v2.56 from ADK 1709 File is signed.
VS has become a monster repository to manage like Linux distros, someones MS screws up and a few times files have been corrupted on random CDNs.
It did work, absolutely. Thank you for pointing me in the right direction! Definitely VS2022 is great. It helps you a lot more than previous versions (VS2019, VS2017, ...), Hot Reload, code suggestions, etc are great stuff,