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

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

  1. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Afaik you'll need to move/create the UUPs folder in current release :thinkink:.

    Just added the folder creation if not already present :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Seems people aren't aware how complex UUP>>ISO conversion actually is to do it properly :cool2:.

    @abbodi1406 already created an uber-human script, so i won't even bother with this atm.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Krakatoa

    Krakatoa MDL Addicted

    Feb 22, 2011
    689
    1,132
    30
    I not combined with uup-converter-wimlib-12.
    I include very small uups to iso script. Is not complete. Wait.
    Code:
    pushd "%~dp0"
    SET ESD=Professional_cs-cz.esd
    if exist "UUPs\*.cab" (
    for /f "delims=" %%i in ('dir /b "UUPs\*.cab"') do (
        md temp\%%~ni
        expand.exe -f:* "UUPs\%%~ni.cab" temp\%%~ni\
        wimlib capture "temp\%%~ni" "temp\%%~ni.ESD" --compress=fast --check --no-acls --norpfix "%%~ni" "%%~ni"
        rd /s /q temp\%%~ni
        )
    )
    wimlib apply %ESD% 1 ISO\
    del ISO\MediaMeta.xml
    copy /y reagent.xml ISO\sources
    wimlib export %ESD% 2 ISO\sources\boot.wim --compress=maximum -boot
    wimlib export %ESD% 3 ISO\sources\install.wim --ref="UUPs\*.esd" --ref="temp\*.esd" --compress=maximum
    wimlib update ISO\sources\install.wim 1 --command="add 'ISO\sources\boot.wim' '\windows\system32\recovery\winre.wim'"
    wimlib info ISO\sources\boot.wim 1 --image-property FLAGS=9
    oscdimg -bootdata:2#p0,e,b"ISO\boot\etfsboot.com"#pEF,e,b"ISO\efi\Microsoft\boot\efisys.bin" -o -m -u2 -udfver102 -g -lWIN10 ISO WIN10.iso
    pause
     
  4. antonio8909

    antonio8909 MDL Guru

    Feb 16, 2014
    3,116
    1,517
    120
    I don't understand what you said. You can move it because your tool asks for it or you can close the tool and open the decrypter and paste the location of the UUP files
     
  5. daveo76

    daveo76 MDL Expert

    Nov 9, 2009
    1,074
    282
    60
    @slave77 you didn't mention about another update you released v0.05.18
     
  6. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Sneaky doggie, aye :D.

    Only added the update installer option and was to lazy for public release :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #687 Nucleus, Sep 17, 2017
    Last edited: Sep 17, 2017
    @s1ave77 - Replace current or Skip ? Is forthcoming in next version? Or is it in 0.05.18 which I've just updated too - obviously no new version to see this new feature yet.

    Edit: Try reading the nfo Nucleus! :oops:

    v0.05.18
    --added option to replace tool with an update, will auto-restart the script or skip

    Edit: IMO this replace current is great new feature. That's what I was getting at, sort of "like" when you update a bit of software and it prompts to start new version. Nice. Thanks @s1ave77 :tankyou:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. UndertakerBen

    UndertakerBen MDL Member

    Mar 3, 2016
    150
    520
    10
  9. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #689 Nucleus, Sep 17, 2017
    Last edited: Sep 17, 2017
    @s1ave77 - That one is real neat. :tankyou::clap3:

    Prompts if I want to download update pack or skip, then prompts if I want to replace current, then closes current and starts update/copies across to where I have it running from and starts new version for me.

    Code:
    [HEADER] PROJECT FILES UPDATE CHECK
    
    [ INFO ] Checking version:
    
    
    [ INFO ] Current Version: v0.05.18
    [ INFO ] Check Version  : v0.05.18
    
    
    [ WARN ] NO UDATES FOUND.
    
    
    [ USER ] Still [D]ownload or [S]kip ?: D
    
    
    [ USER ] Enter Path to Download Folder.
    
    
    [ USER ] Enter Path to Download Folder : d:\downloads
    
    
    [ INFO ] Downloading...
    
    
    [ INFO ] Unpacking...
    
    
    [ USER ] [R]eplace current or [S]kip ?: R
    
    
    [ INFO ] UPDATER WILL START NOW. TOOL WILL CLOSE.
    
    
    [ USER ] PRESS ANY KEY >>
    
    #####################
    [ INFO ] UUPDL UPDATE
    #####################
    [ INFO ] PLEASE WAIT.
    #####################
    
    [  OK  ] PROJECT INTEGRITY VERIFIED.
    
    
         [D] DATABASE UPDATE CHECK
    
    
         [L] LATEST RELEASE QUERY
    
         [O] OLDER RELEASES QUERY
    
    
         [S] SPECIFIC BUILD QUERY
    
    
         [P] PROJECT UPDATE CHECK
    
    
         [E] EXIT
    
    
    [ USER ] YOUR CHOICE ?:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. daveo76

    daveo76 MDL Expert

    Nov 9, 2009
    1,074
    282
    60
    Putting "convert-UUP.cmd" & "bin" from "uup-converter-wimlib-12" in to "uupdl" folder. Doesn't make convert-UUP.cmd auto detect UUP files files for me.
     
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Thought about several similiar concepts but rejected them to avoid manual input which is more complicated (if tool is used often) and needs checking to avoid frustration (people can have probs here).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    He does that!

    Like you, I discovered that sometimes [P] is worth a press! ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Code:
    ::===============================================================================================================
    :: CHANGE TO 1 TO ENABLE AUTO UPDATE FEATURE AT SCRIPT START
    set "auto=0"
    :: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    Perfect! Not sure I'll use auto update but well done @s1ave77

    Code:
    ::===============================================================================================================
    :: CHANGE TO 1 TO ENABLE AUTO UPDATE FEATURE AT SCRIPT START
    set "auto=1"
    :: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Code:
    [HEADER] PROJECT FILES UPDATE CHECK
    
    [ INFO ] Checking version:
    
    
    [ INFO ] Current Version: v0.05.25
    [ INFO ] Check Version  : v0.05.25
    
    
    [ WARN ] NO UDATES FOUND.
    
    
    [ USER ] Still [D]ownload or [S]kip ?: D
    
    
    [ USER ] Enter Path to Download Folder.
    
    
    [ USER ] Enter Path to Download Folder : d:\downloads
    
    
    [ INFO ] Downloading...
    
    
    [ INFO ] Unpacking...
    
    
    [ USER ] [R]eplace current or [S]kip ?: R
    
    
    [ INFO ] UPDATER WILL START NOW. TOOL WILL CLOSE.
    
    
    [ USER ] PRESS ANY KEY >>
    
    #####################
    [ INFO ] UUPDL UPDATE
    #####################
    [ INFO ] PLEASE WAIT.
    #####################
    
    [  OK  ] PROJECT INTEGRITY VERIFIED.
    
    
         [D] DATABASE UPDATE CHECK
    
    
         [L] LATEST RELEASE QUERY
    
         [O] OLDER RELEASES QUERY
    
    
         [S] SPECIFIC BUILD QUERY
    
    
         [P] PROJECT UPDATE CHECK
    
    
         [E] EXIT
    
    
    [ USER ] YOUR CHOICE ?:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Thought that way it's not disappointing those (like me) who do that manually :D.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #696 Nucleus, Sep 17, 2017
    Last edited: Sep 17, 2017
    Yes, as was discussed a few pages back. Auto update being an option surely satisfies everyone. I'm sure @dzaggiel will be happy to see this new option. Good stuff.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #697 s1ave77, Sep 17, 2017
    Last edited: Sep 17, 2017
    S-M-R-T M50 UUPDL v0.05.25 released :cool2:.

    +++ FEATURE UPDATE RELEASE +++


    v0.05.25
    --added auto-update option (at beginning of script set auto=0 to set auto=1)

    +++silently+++released+++update+++test+++phase+++

    v0.05.18
    --added option to replace tool with an update, will auto-restart the script or skip


    https://forums.mydigitallife.net/threads/uup-dump.75052/page-5#post-1368477
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Krakatoa

    Krakatoa MDL Addicted

    Feb 22, 2011
    689
    1,132
    30
    @s1ave77
    Technical note:
    Check exist main esd in _temp\uup.txt before downloading uups:
    Code:
    ...
    if "%sku%"=="AiO" (goto:ContinueDown1)
    FIND "out=%sku%_%lang%.esd" "_temp\uup.txt" 1>nul && (echo [ INFO ] %sku%_%lang%.esd exist&&goto:ContinueDown1)
    echo %sku%_%lang%.esd not exist&&pause
    goto:M50DLMainMenu
    :ContinueDown1
    ...
     
  19. UndertakerBen

    UndertakerBen MDL Member

    Mar 3, 2016
    150
    520
    10
    The replace function deletes all the files in the folder and subfolders
     
  20. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yep, should delete the old files then copy over new ones and delete the download folder content.

    Just edited the script to specifically delete project files only not all.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...