abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    612
    217
    30
    #2921 liliactr, May 10, 2024
    Last edited: May 10, 2024
    Hi;

    I am trying to convert this esd file to a cab file with your ESD2CAB-CAB2ESD-3 tool. I could not succeded. It is 700MB in size. Problem can be the big size and your program does not handle it?
    https://uupdump.net/getfile.php?id=...t-Windows-Client-Desktop-Required-Package.ESD

    When i try esd2cab_CLI.cmd. It says stopped working

    [​IMG]

    When i try esd2cab_GUI.cmd. It says file not found but does not mention which file? name?

    [​IMG]

    Also i am curious what is the differeence between esd2cab_CLI.cmd and esd2cab_GUI.cmd? There is not mention in Readme.txt file
     
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,950
    4,180
    60
    CAB file has limitation by design: 2 GB size - 65535 included files/directories

    it's not possible to convert huge esd, cab+psf or wim files to cab
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    612
    217
    30
    Investigated it that it is cabarc problem. Not related with tool. Cabarc crashes after sometime

    [​IMG]
     
  4. crazybom321

    crazybom321 MDL Novice

    Sep 11, 2023
    2
    0
    0
    Hi @abbodi1406
    about W7UI & W81UI scripts . . . the default settings for installing HOTFIXes are :
    Windows 7 = No
    Windows 8.1 = Yes
    do you recommend "No" for windows 7 ? why ? does that have anything to do with GDR / LDR branches ?
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,325
    91,565
    340
    Yes is recommended

    i forgot why i set to No, but probably related to GDR / LDR, or that hotfixes are very few with KB3125574
     
  6. Hasefroch

    Hasefroch MDL Senior Member

    Dec 24, 2018
    453
    294
    10
    Maybe trying to use it with Windows 10 or 11?
    Windows 7 has problems with things like this. If you don't install W10 can make a VM and install it here and try
     
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,925
    150
    I think that here, years ago, someone shared a patched version that overcame those limits.

    Then the link went lost, and no one else shared it again (I was late to the party so I never tested it, so I can't say if it was problem free)
     
  8. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    905
    1,181
    30
    @abbodi1406
    Does your Edge uninstall script not work for 26100 IoT version?
    When I tried it didn't remove Edge but when I tried on Enterprise (non IoT) it worked.
    Not sure if something is wrong with my install or why it doesn't work. Had to use Remove-MS-Edge to get rid of it.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,325
    91,565
    340
    It depend on Edge setup version, 120+ block uninstallation (unless you are in EU)
    but it also depend on OS edition

    try this
    https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6
     
  10. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,892
    2,137
    60
    why don't you take an eu version and install the languages later?
    I don't know if that's possible, but one approach would be to test it
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,325
    91,565
    340
    #2931 abbodi1406, May 16, 2024
    Last edited: May 24, 2024
    (OP)
    uup-converter v105

    - Fix detection issue where SafeOS DU might get added for install.wim
    - SkipApps option will be auto enabled for build 25398 (because it's Server Core release)
    - StubAppsFull option will be auto enabled for Server editions
    - Framework apps will be skipped if no Apps will be added for Server editions (unnecessary saving image will be skipped too)
    - AddDrivers & UpdtBootFiles added to Configuration Options menu
    - Fix: apps CustomList option has no effect if enabled via the menu (thanks to @Clusterhead for reporting)
    - Extracted SSU cab from LCU msu wim for Windows 11 26052+ may not named correctly (thanks to @Enthousiast)

    --
    W10UI v10.42

    - Fix detection issue where SafeOS DU might get added for install.wim
    - Add fallback dism.exe /Apply-Image command to extract LCU msu wim files if Powershell code failed
    - Optimize "Extracting dpx.dll" code
    - Detect oscdimg.exe from work \bin directory
    - Skip integrating SSU for winre.wim if no other updates will be added

    --
    thanks to @Paul Mercer for suggestions and continous testing
     
  12. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,902
    1,586
    60
    How to disable SkipApps option will be auto enabled for build 25398 ?
     
  13. BELNN

    BELNN MDL Member

    Apr 2, 2016
    110
    78
    10
    In the script, remove the lines if %_build% equ 25398 set SkipApps=1 in two places.
     
  14. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,902
    1,586
    60
    Still Skip Apps when trying to add Apps in custom Server Core image.
     
  15. BELNN

    BELNN MDL Member

    Apr 2, 2016
    110
    78
    10
    Nothing else seems to interfere.
     
  16. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,902
    1,586
    60
    There's a lot more blocks.
     
  17. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,902
    1,586
    60
    #2937 Ace2, May 18, 2024
    Last edited: May 18, 2024
    How do i disable SkipApps option on build 25398 ? :beaten:
     
  18. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,950
    4,180
    60
    #2938 Paul Mercer, May 18, 2024
    Last edited: May 18, 2024
    why it's so hard for you to search for 25398 in the whole script and edit it to any different build in two places?

    also you are takling about integrating apps in core edition, it has nothing to do with 25398 build and you messed up again
    line 3749
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,902
    1,586
    60
    Who asked you ? mind your own...
     
  20. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,950
    4,180
    60
    check line 3749 you stupid kiddo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...