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
    54,966
    125,939
    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
    351
    444
    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