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

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

  1. 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...
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    the thing about versioning is I don't feel like I'm a maintainer of this mess
    in a perfect world we would host it on GitHub and maybe even update uupdump.net to the current code, but it's not possible at this moment

    anyway, I'm going to drop Electron app and PHP-built-in server support and release new version based on PHP & Apache HTTP server (it's much faster and way more stable), version number in filename and some scripts wouldn't hurt
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4845 Paul Mercer, Mar 13, 2023
    Last edited: Apr 23, 2024 at 21:21
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    admin rights are not mandatory, it just works for me without elevated rights on 22621 Host OS
    I've added auto elevation in other scripts which really requires it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,423
    60
    My bad. I got an error message when executing the mlink statements of the script at #4841; but the applications worked (the mlink don't figure in the latest release).; admin rights are not requested.
     
  6. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4849 Paul Mercer, Mar 13, 2023
    Last edited: Mar 13, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    if Dev mode is disabled on your OS then that's the reason why I wasn't aware about this mess
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. El_Heffe

    El_Heffe MDL Member

    Jul 16, 2007
    200
    87
    10
    In the latest version, the file "uupdump-run-website.cmd" has been replaced by "uupdump-run-apache.cmd".

    Slightly confusing, but it works.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    PHP built-in server was replaced with much more faster and way more reliable Apache HTTP Server https://forums.mydigitallife.net/posts/1781105
    you can find old scripts in the "scripts" folder as a fallback if Apache isn't working for some reason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. El_Heffe

    El_Heffe MDL Member

    Jul 16, 2007
    200
    87
    10
    "uupdump-run-apache.cmd" works just fine. It was just confusing for a minute because of the name change.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. armond

    armond MDL Addicted

    Jun 16, 2008
    734
    235
    30
  12. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,348
    2,936
    60
    #4857 Paul Mercer, Mar 18, 2023
    Last edited: Mar 18, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
    #4860 inTerActionVRI, Apr 1, 2023
    Last edited: Apr 1, 2023
    But this problem above occurred because of downloading the version of "uup-converter-wimlib" in the old version overwriting the version you downloaded manually. so it was necessary to delete these lines. Currently, this procedure is no longer necessary.

    However, you can modify the script to use PwSh if you don't have native PowerShell 5.1 on your system.

    Code:
    where.exe /F PowerShell.exe >nul 2>&1 && ( set "PSexe=PowerShell.exe" )
    if "%PSexe%" equ "" where.exe /F PwSh.exe >nul 2>&1 && ( set "PSexe=PwSh.exe" )
    %PSexe% -NoProfile -ExecutionPolicy Unrestricted .\files\depends_win.ps1 || (pause & exit /b 1)
    
    or
    Code:
    where.exe /F PowerShell.exe >nul 2>&1 && ( set "PSexe=PowerShell.exe" )
    if "%PSexe%" equ "" where.exe /F PwSh.exe >nul 2>&1 && ( set "PSexe=PwSh.exe" )
    %PSexe% -NoProfile -ExecutionPolicy Unrestricted .\files\depends_win.ps1 -ForDownload || (pause & exit /b 1)