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

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

  1. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    Because I'm too lazy, and I have large enough HDD to not bother with this. Originally these files were never meant to be on user's disks, but due to take down of website i had to improvise, and I don't want to touch a working system.

    Also If you remove them from 15063 JSON, then there's risk that you will not get proper downloads because there is a complete mess on Windows Update servers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Krakatoa

    Krakatoa MDL Addicted

    Feb 22, 2011
    689
    1,132
    30
    #1142 Krakatoa, Sep 29, 2017
    Last edited: Sep 29, 2017
    I also have a lot of free space, but I find it more convenient to use json without those files.
    Somehow I do not understand what risk? Json does not send to Microsoft's server, information about those files is useless.
    Request and response to Microsoft's server and download from Microsoft's server is the same as big and small json.
     
  3. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    15063 files have many files with the same name. I have created a fix that finds proper files by looking for files with the largest size, so actually there is no problem. But there is a problem which I forgot about, that if you change these files then you will make all mine current developments throw gibberish because of handling of "unknown" files. I will need to change the handling later.

    You are free to use trimmed files with your developments.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Krakatoa

    Krakatoa MDL Addicted

    Feb 22, 2011
    689
    1,132
    30
    I did not know there was problem with names with 15063. I'm going to look at it. I tested only RS3 (there's probably no problem).
     
  5. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    Only 15063 is messed up.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Krakatoa

    Krakatoa MDL Addicted

    Feb 22, 2011
    689
    1,132
    30
    I was already watching.
    In case 15063 delete only * psf, because those files with _ are not there.
    15063 smaller only +- 40 %, RS3 smaller 85 - 90 % ... not problem :)
    15063 only 2 json :)
     
  7. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    So what is the state of the UUPDownloader, and betas? Are the still being supported, and/or developed or are they dead projects?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    ^^Not dead but paused a moment due to slightly depressing feedback of users not knowing how complex the matter still is (seems we made it look too easy).

    EDIT: And i need a moment to clean the code from redundancies first.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #1149 s1ave77, Sep 30, 2017
    Last edited: Sep 30, 2017
    BTW: GUI Tool still is missing a important feature to avoid errors.

    Just checked for updates with the Script and it deleted a superseded 16299 x86 JSON (double), that is still in the DB of the GUI version, this might lead to confusion during download.

    This happens quite regular :thinking:.

    Code:
    16299.0|x86|50e35451-5ef9-477c-abd2-9ed209f9f073|Windows 10 Insider Preview 16299.0 (rs3_release)
    16299.0|x86|39f35c3e-5ae8-41cf-9e72-4abf36c1f78c|Windows 10 Insider Preview 16299.0 (rs3_release)
    16299.0|arm64|d7d4af77-1f5d-4c96-b9e5-12c2b07903da|Windows 10 Insider Preview 16299.0 (rs3_release)
    16299.0|amd64|5ce4b59a-a159-465d-bd3d-29f18887d990|Windows 10 Insider Preview 16299.0 (rs3_release)
    New is bolded.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Is there anything that should be added to / changed in the Script solution ...?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,548
    450
    Script works fine, it does what it needs to do :)
     
  12. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #1152 Nucleus, Sep 30, 2017
    Last edited: Sep 30, 2017
    I've hammered it over the last few nights, all good for me. :good3:

    Edit: Throughout there are many double instances of...

    Code:
    call :MenuFooter
    call :MenuFooter
    That's deliberate? MenuFooter is a double line in graphics?
     
    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
    Don't forget to run the DB Update Check from time to time. It will clean superseded JSONs.

    Else complications are ahead, since wrong ID might be used for download and will fail.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Each generates a single line, so two of them 2. There a different footers for different occasions. The calls spare lots of directly redundand code, if you chack what is actually called :D.

    ADDITIONALLY the script can adapt to CMD windows from 80 to 150 cols.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    I like all the scripts (all betas, and the UUPDLs.) Everything works very well!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    Removal of superseded updates is going to be implemented in the UUP dump API.
    Code:
    [2017-09-30 14:33:17 UTC] UUP dump API v0.5.0-beta
    [2017-09-30 14:33:17 UTC] Fetching information from the server...
    [2017-09-30 14:33:18 UTC] Information was successfully fetched.
    [2017-09-30 14:33:18 UTC] Checking build information...
    [2017-09-30 14:33:18 UTC] Successfully checked build information.
    [2017-09-30 14:33:18 UTC] BUILD: Windows 10 Insider Preview 16299.0 (rs3_release) amd64
    [2017-09-30 14:33:18 UTC] WARNING: This build is NOT in the database. It will be saved now.
    [2017-09-30 14:33:18 UTC] Parsing information to write...
    [2017-09-30 14:33:18 UTC] Successfully parsed the information.
    [2017-09-30 14:33:18 UTC] Writing new build information to the disk...
    [2017-09-30 14:33:18 UTC] Successfully written build information to the disk.
    [2017-09-30 14:33:18 UTC] Parsing database info...
    [2017-09-30 14:33:19 UTC] Done parsing database info.
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-ffffffffffff
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-fffffffffffe
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-fffffffffffd
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-fffffffffffc
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-fffffffffffb
    [2017-09-30 14:33:19 UTC] Removed superseded update: ffffffff-ffff-ffff-ffff-fffffffffffa
    
     
    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
    ^^What should i say except of i love that man .... :hug: :worthy:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    #1158 whatever127, Sep 30, 2017
    Last edited: Sep 30, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    Yes, very nice!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...