[DISCUSSION] Visual Studio 2022

Discussion in 'Application Software' started by Tito, Jun 18, 2021.

  1. Erik B

    Erik B MDL Member

    Oct 10, 2008
    105
    26
    10
    OMG, get a grip friend.
     
  2. _Manolo_

    _Manolo_ MDL Member

    Dec 1, 2009
    161
    175
    10
  3. _Manolo_

    _Manolo_ MDL Member

    Dec 1, 2009
    161
    175
    10
    #103 _Manolo_, Nov 11, 2021
    Last edited: Nov 11, 2021
    Hmmm... :g:
    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...
     
  4. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,237
    911
    60
    Hello my French friend :)
    You can try my old script also :https://forums.mydigitallife.net/threads/discussion-visual-studio-2019.79150/#post-1506787
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,308
    60
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,486
    210
    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.

     
  7. RokkumanX

    RokkumanX MDL Member

    Apr 8, 2020
    182
    253
    10
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. RokkumanX

    RokkumanX MDL Member

    Apr 8, 2020
    182
    253
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. N0t1s

    N0t1s MDL Junior Member

    Apr 30, 2015
    88
    210
    0
    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!
     
  10. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,245
    3,258
    90
    @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):
    12-11-2021 23.29.06.ls.jpg

    you can have a friendly image output size:

    12-11-2021 23.32.35.ls.jpg

    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.
     

    Attached Files:

  11. RokkumanX

    RokkumanX MDL Member

    Apr 8, 2020
    182
    253
    10
    I use Burnaware Free when I make my isos, it have never once complained about long file names.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. athanato

    athanato MDL Member

    Aug 30, 2009
    116
    13
    10

    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.
     
  13. N0t1s

    N0t1s MDL Junior Member

    Apr 30, 2015
    88
    210
    0
    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,
     
  14. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,237
    911
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. hsl1

    hsl1 MDL Novice

    Oct 3, 2015
    15
    0
    0
    any change to get an ISO?
     
  16. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    7,154
    21,097
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Reznov

    Reznov MDL Member

    May 17, 2012
    170
    410
    10