[DISCUSSION] UUP dump - download Windows 10/11 UUPs with ease

Discussion in 'MDL Projects and Applications' started by whatever127, Sep 2, 2017.

  1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
    #4921 inTerActionVRI, May 12, 2023
    Last edited: May 21, 2023
    This will be useful for @abbodi1406 to integrate on the Online UUPdump website. Please take a look!

    And, for those who manage to download through github and want the automatic download functionality, just extract "website_4WhoCanDownloadFromGitHub.zip" inside the folder of UUPdump Local Server:
    ".\uupdump-x86\uup-dump\website\"
    ".\uupdump-x64\uup-dump\website\"
    replacing the 2 files.


    Even so, there are "get.php" changes that are useful in case of download errors in aria2c (when we have to run "uup_download_windows.cmd"). I did a "get.php" without the downloads. It's in my previous post "website_4WhoCantDownloadFromGitHub.zip".

    For those who were unable to download, I myself had problems for a while until I decided to put the UserAgent in the download scripts. In that case I just put it in the aria and in depends_win.ps1.
    People can try "website_4WhoCanDownloadFromGitHub.zip", but it won't deal with government interventions from some countries.


    EDIT: updated links.
     
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
    #4922 inTerActionVRI, May 12, 2023
    Last edited: May 14, 2023
    I made a mistake when inserting the User-Agent in the aria2c commands of "get.php". I kept the variables from batch (CMD) scripts format, in Shell (SH) scripts. I already fixed that. Please do the download again.
     
  3. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4923 Paul Mercer, May 16, 2023
    Last edited: May 18, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    UUP dump Windows 10 (OS Build 19041.1) Core to Professional [Missing Microsoft-Windows-Printing-PMCPPC-FoD-Package Fix]

    Code:
    Dism /Mount-Image /ImageFile:C:\install.wim /Index:1 /MountDir:C:\mount
    
    Dism /Image:C:\mount /Set-Edition:Professional
    
    Dism /Image:C:\mount /Add-Package /PackagePath:C:\Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64\update.mum
    Dism /Image:C:\mount /Add-Package /PackagePath:C:\Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64-en-us.cab
    
    Dism /Unmount-Image /MountDir:C:\mount /Commit
     
  5. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4925 Paul Mercer, May 19, 2023
    Last edited: May 19, 2023
    Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64 isn't missing in Pro edition in my base 19041.1 ISO with Core + Pro editions
    Pro edition was created by uup-converter

    I'll build it again to double check

    1st test: packages are correct if only base editions were builded (without any updates)
    2nd test: Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64 is missing in Pro edition if updates were integrated and Pro edition was converted from Core

    another reason to build only base builds and update it with W10UI
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    uup dump, i just select Windows Home edition to build iso, then if i want pro i mount Home install.wim and set pro edition, and packages are missing.
    But it look like uup dump has a bigger problem when integrating updates as in 2nd test::rolleyes:
     
  7. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    Should not have to use uup-converter and W10UI, uup-converter should be fixed.
    uup-converter should download Microsoft-Windows-Printing-PMCPPC-FoD-Package and stage them.;)
     
  8. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    How to know when install.wim is good:

    1.
    You should be able to make your own full core_en-us.esd & professional_en-us.esd.

    Using core_en-us.esd & professional_en-us.esd from uup dump with install.wim from 19041.1.191206-1406.VB_RELEASE_CLIENTCORE_OEMRET_X64FRE_EN-US.ISO made with uup dump converter.

    2.
    And you should be able to make Core & Pro iso from full core_en-us.esd & professional_en-us.esd with uup-converter-wimlib.;)
     
  9. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    just build base ISO on UUP dump with Home(N) + Pro(N) editions and integrate any updates you want with W10UI
    integration routine is perfect in W10UI and incorrect in uup-converter anyway

    after that just use create_virtual_editions.cmd script on that ISO
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    Point
    install.wim + core_en-us.esd [uup dump version]
    install.wim + professional_en-us.esd [uup dump version]
    should be able to build iso for core and pro.:rolleyes:
     
  11. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    #4931 Ace2, May 19, 2023
    Last edited: May 19, 2023
    Code:
    Make full core_en-us.esd
    
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>Dism /Get-ImageInfo /ImageFile:C:\uup-converter-wimlib\sources\install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Details for image : C:\uup-converter-wimlib\sources\install.wim
    
    Index : 1
    Name : Windows 10 Home
    Description : Windows 10 Home
    Size : 14,303,660,320 bytes
    
    The operation completed successfully.
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\core_en-us.esd 1 C:\uup-converter-wimlib\UUPs\core_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 251 MiB of 251 MiB (100%) done
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\core_en-us.esd 2 C:\uup-converter-wimlib\UUPs\core_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 908 MiB of 908 MiB (100%) done
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\core_en-us.esd 3 C:\uup-converter-wimlib\UUPs\core_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 6365 MiB of 6365 MiB (100%) done
    
    C:\Windows\system32>
    
    
    uup-converter-wimlib:
    
    ============================================================
    Running UUP -> ISO v89
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 7202 MiB of 7202 MiB (100%) done
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 971 MiB of 971 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    Creating 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 (500 files in 41 directories)
    Scanning source tree complete (899 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4142071808 bytes (before optimization)
    
    Writing 899 files in 85 directories to 19041.1.191206-1406.VB_RELEASE_CLIENTCORE_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 4129906688 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    Finished.
    
    Press 0 to exit.

    Code:
    Make full professional_en-us.esd
    
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>Dism /Get-ImageInfo /ImageFile:C:\uup-converter-wimlib\sources\install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Details for image : C:\uup-converter-wimlib\sources\install.wim
    
    Index : 1
    Name : Windows 10 Home
    Description : Windows 10 Home
    Size : 14,286,023,633 bytes
    
    The operation completed successfully.
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\professional_en-us.esd 1 C:\uup-converter-wimlib\UUPs\professional_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 251 MiB of 251 MiB (100%) done
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\professional_en-us.esd 2 C:\uup-converter-wimlib\UUPs\professional_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 908 MiB of 908 MiB (100%) done
    
    C:\Windows\system32>C:\uup-converter-wimlib\bin\wimlib-imagex.exe export C:\uup-converter-wimlib\sources\professional_en-us.esd 3 C:\uup-converter-wimlib\UUPs\professional_en-us.esd --ref=C:\uup-converter-wimlib\sources\install.wim --compress=LZX
    Using LZX compression with 2 threads
    Archiving file data: 6412 MiB of 6412 MiB (100%) done
    
    C:\Windows\system32>
    
    *
    
    uup-converter-wimlib:
    
    ============================================================
    Running UUP -> ISO v89
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 7249 MiB of 7249 MiB (100%) done
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 971 MiB of 971 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    Creating 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 (500 files in 41 directories)
    Scanning source tree complete (899 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4180738048 bytes (before optimization)
    
    Writing 899 files in 85 directories to 19041.1.191206-1406.VB_RELEASE_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 4168583168 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    Finished.
    
    Press 0 to exit.

    NOTES:
    professional_en-us.esd + install.wim + staged Microsoft-Windows-Printing-PMCPPC-FoD-Packages
     
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
  13. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4933 Paul Mercer, May 25, 2023
    Last edited: May 25, 2023
    Updated UUP dump local server to version 1.2.1

    Changelog:
    - Fixed "Canary Channel" regex to exclude 22631-22639 builds from search results
    - Minor rework of the "New build" page: added "All" architecture and "MSIT" channel, changed channel and build defaults to "Canary Channel" and "22621.1" respectively
    - Updated uupdump-get-fileinfo+packs.cmd script
    - New regexes for "Windows 11 22H2" quick search buttons, thanks to @abbodi1406
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Muggaen

    Muggaen MDL Addicted

    Dec 30, 2011
    678
    296
    30
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,888
    340
    No it doesn't :)
    uup-converter v89r have the fix
     
  16. jgtoy

    jgtoy MDL Junior Member

    Sep 12, 2012
    73
    38
    0
    I just created an ISO as below:-

    upload_2023-5-25_14-48-10.png

    But naming came up as:

    upload_2023-5-25_14-49-47.png

    Nevertheless DISM give the following...

    upload_2023-5-25_14-51-48.png

    Which is correct. So I guess it is naming problem?
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,761
    450
  18. jgtoy

    jgtoy MDL Junior Member

    Sep 12, 2012
    73
    38
    0
  19. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...