MS DaRT Offline Integration Tool (for windows 7, 8.1, 10 and 11)

Discussion in 'Windows 11' started by Enthousiast, Dec 21, 2023.

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    Not really my thing atm, i get headaches when navigating there.

    WIll test the modified script asap :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Apoly

    Apoly MDL Senior Member

    Aug 21, 2016
    363
    481
    10
    Hello

    I would have a suggestion. To determine which DaRT MUI language should be integrated
    your script searches in sources\%%i\*.mui

    However some users may have added multiple languages and changed the default language

    So one alternative solution could be to look for the registry key
    in boot.wim that determines which language is displayed by default in WinPE :
    HKEY_LOCAL_MACHINE\System\ControlSet001\Control\MUI\UILanguages\<KEY>

    Then your script would compare it with the languages available for DaRT


    A simpler workaround could also be to just install all available 11 MUI languages from the get-go
    making it universally compatible by default (size isn't really a problem anyway, the wim file only gets ~2 MB bigger)
    so people with multiple languages won't have to worry about anything if they change the language settings

    Code:
    bin\7z x -y -oTEMP\Dart_w%Winver% Dart_w%Winver%\Dart_w%Winver%.tpk
    
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_de-DE.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_en-US.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_es-ES.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_fr-FR.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_it-IT.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_ja-JP.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_ko-KR.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_pt-BR.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_ru-RU.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_zh-CN.tpk
    bin\7z x -y -oTEMP\Dart_w%Winver%_LP Dart_w%Winver%\Dart_w%Winver%_zh-TW.tpk
    
     
  3. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,588
    558
    60
    #143 pp03, Jul 14, 2026
    Last edited: Jul 14, 2026
    boot 25h2 june pl-pl iso from usb, then "previous version of setup" and when choose "repair this pc" nothing is going on - so can't use dart :( (dart integrated in boot.wim only)
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    Please provide the progress of the tool, atm i don't really have time to test much, processing the patch tuesday patches and tomorrow and tuesday i am not home much.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,588
    558
    60
    Code:
    ============================================================
    Running DaRT Integration Tool v4.6 by Enthousiast
    ============================================================
    
    ==========================================================
    You have chosen to integrate the Debug tools {Default}...
    ==========================================================
    
    ==========================================================
    You have chosen to optimize the wim files {Default}...
    ==========================================================
    
    
    ==========================================================
    Integrate DaRT In Boot.wim ?
    ==========================================================
    
    [ 1 ] - Integrate DaRT In Boot.wim
    
    [ 2 ] - Don't Integrate DaRT In Boot.wim
    
    ==========================================================
    
    * Type your option and press Enter: 1
    
    ==========================================================
    Integrate DaRT In Winre.wim ?
    ==========================================================
    
    [ 1 ] - Integrate DaRT In Winre.wim
    
    [ 2 ] - Don't Integrate DaRT In Winre.wim
    
    ==========================================================
    
    * Type your option and press Enter: 2
    
    ==========================================================
    Extracting Source ISO...
    ==========================================================
    
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 folder, 1 file, 8558057472 bytes (8162 MiB)
    
    Extracting archive: Source_ISO\pl-pl_windows_11_consumer_editions_version_25h2_updated_june_2026_x64_dvd_2045a41c.iso
    --
    Path = Source_ISO\pl-pl_windows_11_consumer_editions_version_25h2_updated_june_2026_x64_dvd_2045a41c.iso
    Type = Udf
    Physical Size = 8558057472
    Comment = CCCOMA_X64FRE_PL-PL_DV9
    Cluster Size = 2048
    Created = 2026-06-08 02:00:00
    
    Everything is Ok
    
    Folders: 102
    Files: 1065
    Size:       8552112407
    Compressed: 8558057472
    
    ==========================================================
    DaRT Language Used : x64 en-us
    ===========================================================
    
    ==========================================================
    Preparing DaRT 11 x64...
    ==========================================================
    
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 file, 8894690 bytes (8687 KiB)
    
    Extracting archive: DaRT_W11\Dart_w11.tpk
    --
    Path = DaRT_W11\Dart_w11.tpk
    Type = wim
    Physical Size = 8894690
    Size = 8589934592
    Packed Size = 38013142
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-08 06:13:00
    Modified = 2019-04-08 06:17:13
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 12
    Files: 71
    Size:       29258096
    Compressed: 8894690
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 file, 181228 bytes (177 KiB)
    
    Extracting archive: DaRT_W11\Dart_w11_en-US.tpk
    --
    Path = DaRT_W11\Dart_w11_en-US.tpk
    Type = wim
    Physical Size = 181228
    Size = 8589934592
    Packed Size = 1586789
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-12 13:25:59
    Modified = 2019-04-12 14:32:06
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 16
    Files: 45
    Size:       2023776
    Compressed: 181228
    
    7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
    
    Scanning the drive for archives:
    1 file, 58462304 bytes (56 MiB)
    
    Extracting archive: DaRT_W11\DebugTools_w11_24h2.tpk
    --
    Path = DaRT_W11\DebugTools_w11_24h2.tpk
    Type = wim
    Physical Size = 58462304
    Size = 12884901888
    Packed Size = 298241957
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2024-05-02 10:46:35
    Modified = 2024-05-02 12:52:12
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 3
    
    Everything is Ok
    
    Folders: 78
    Files: 817
    Size:       259916179
    Compressed: 58462304
    
    ==========================================================
    Adding DaRT 11 x64 To x64 Boot.wim...
    ==========================================================
    
    Scanning "TEMP\Dart_w11\2\"
    15 MiB scanned (35 files, 6 directories)
    Using LZX compression with 8 threads
    Archiving file data: 15 MiB of 15 MiB (100%) done
    Scanning "TEMP\Dart_w11_LP\2\"
    987 KiB scanned (22 files, 8 directories)
    Using LZX compression with 1 thread
    Archiving file data: 987 KiB of 987 KiB (100%) done
    Scanning "TEMP\Dart_w11_DeBug\2\"
    90 MiB scanned (321 files, 30 directories)
    Using LZX compression with 8 threads
    Archiving file data: 89 MiB of 89 MiB (100%) done
    
    ==========================================================
    Optimizing x64 Boot.wim...
    ==========================================================
    
    "TEMP\ISO\Sources\boot.wim" original size: 666612 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1520 MiB of 1520 MiB (100%) done
    "TEMP\ISO\Sources\boot.wim" optimized size: 653122 KiB
    Space saved: 13490 KiB
    
    ==========================================================
    Creating 11 x64 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 (1000 files in 97 directories)
    Scanning source tree complete (1065 files in 103 directories)
    
    Computing directory information complete
    
    Image file is 8590098432 bytes (before optimization)
    
    Writing 1065 files in 103 directories to pl-pl_windows_11_consumer_editions_version_25h2_updated_june_2026_x64_dvd_2045a41c_DaRT_11_2026_07_14.ISO
    
    100% complete
    
    Storage optimization saved 66 files, 18493440 bytes (1% of image)
    
    After optimization, image file is 8574109696 bytes
    Space saved because of embedding, sparseness or optimization = 18493440
    
    Done.
    
    ==========================================================
    Cleaning-up TEMP dir...
    ==========================================================
    
    
    Press any key to continue . . .
     
  6. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,588
    558
    60
    same situation with july iso converted from esd
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    18,673
    100,458
    340
    Did you try iso created from uup?
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    I am back from the hotel and will check asap with MVS ISO too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,588
    558
    60
    #149 pp03, Jul 17, 2026
    Last edited: Jul 18, 2026
    dart works with iso created from uup :)
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    #150 Enthousiast, Jul 19, 2026
    Last edited: Jul 19, 2026
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    ESD>ISO:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Code:
    ============================================================
                        ESD Contents Info
    ============================================================
        Arch: x64
    Language: EN-US
     Version: 10.0.26200.8873
      Branch: 25H2_GE_RELEASE_SVC_REFRESH
        OS 1: Windows 11 Education
        OS 2: Windows 11 Education N
        OS 3: Windows 11 Enterprise
        OS 4: Windows 11 Enterprise N
        OS 5: Windows 11 Pro
        OS 6: Windows 11 Pro N
    
    Press any key to continue...
    
    
    Code:
    
    ============================================================
    Running ESD -> ISO v66
    ============================================================
    
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 1226 MiB of 1226 MiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 123 MiB of 123 MiB (100%) done
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 13 GiB of 13 GiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 238 MiB of 238 MiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 150 MiB of 150 MiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 128 MiB of 128 MiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 165 MiB of 165 MiB (100%) done
    
    Using LZX compression with 16 threads
    Archiving file data: 160 MiB of 160 MiB (100%) done
    
    ============================================================
    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 46 directories)
    Scanning source tree complete (983 files in 98 directories)
    
    Computing directory information complete
    
    Image file is 8465383424 bytes (before optimization)
    
    Writing 983 files in 98 directories to 26200.8873.260710-2329.25H2_GE_RELEASE_SVC_REFRESH_CLIENTBUSINESS_VOL_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 26 files, 17432576 bytes (1% of image)
    
    After optimization, image file is 8450191360 bytes
    Space saved because of embedding, sparseness or optimization = 17432576
    
    Done.
    
    Finished.
    Press 0 or q to exit.
    
    
    Repair is not responding in legacy setup and in modern setup it just reboots...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    #153 Enthousiast, Jul 20, 2026
    Last edited: Jul 20, 2026
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    Currently failing repair option (2xH2/26H1 tested):

    Code:
    - MVS ISO
    - Official MCT
    - ESD>ISO
    - Updated ISO (W10UI but probably manually updated too)
    
    Working options atm:

    Code:
    - UUP dump (UUP>ISO)
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. CaptainKirk1966

    CaptainKirk1966 One of the Green Guys
    Staff Member

    Oct 31, 2009
    2,948
    1,959
    90
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    55,203
    126,977
    450
    I did the work myself ;):D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    8,134
    10,376
    270
    Re: New topic - Yeah, good idea, so, they fudged up, again... happens with no QA.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...