Add Multilingual Support to Windows 10 Distribution - automated batch script

Discussion in 'Windows 10' started by abbodi1406, Mar 30, 2016.

  1. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    That's a good question. :waycon1:
    How can i check if they got integrated? The "Langs" (esd) folder was for sure integrated but i'm not sure about the "OnDemand" (cab) folder.
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,232
    94,598
    450
    can you show the content of the progress window, that should clear it a bit up?
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    Check \Windows\servicing\Sessions\Sessions.xml inside install.wim (use 7-zip)
     
  4. EXO56

    EXO56 MDL Member

    Mar 22, 2013
    183
    250
    10
    #284 EXO56, Oct 28, 2020
    Last edited: Nov 6, 2020
    Never mind! That's alright!
     
  5. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    My Sessions.xml has over 60.000 text lines with or without the "OnDemand" (cab).
    Could it be that the "Langs" (esd) already includes all the "OnDemand" (cab) stuff?
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    Mine has 106188 lines
    use proper text editor like Notepad3 or Notepad++

    no, they are separate packs

    i'm not sure what's the issue you have exactly
    do you want full localization or not?
    are you worried about size difference or not?
     
  7. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    Sure i want the full localization. But looks like the "OnDemand" (cab) folder is being ignored and only the "Langs" (esd) folder is being integrated. :caffeine:
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,232
    94,598
    450
    Please, show the settings and the progress.
     
  9. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    You mean this?
    ============================================================
    Prepare work directories
    ============================================================


    ============================================================
    Detect language packs details
    ============================================================

    ar-SA: 32-bit {x86} - 19041
    bg-BG: 32-bit {x86} - 19041
    cs-CZ: 32-bit {x86} - 19041
    da-DK: 32-bit {x86} - 19041
    de-DE: 32-bit {x86} - 19041
    el-GR: 32-bit {x86} - 19041
    en-GB: 32-bit {x86} - 19041
    en-US: 32-bit {x86} - 19041
    es-ES: 32-bit {x86} - 19041
    es-MX: 32-bit {x86} - 19041
    et-EE: 32-bit {x86} - 19041
    fi-FI: 32-bit {x86} - 19041
    fr-CA: 32-bit {x86} - 19041
    fr-FR: 32-bit {x86} - 19041
    he-IL: 32-bit {x86} - 19041
    hr-HR: 32-bit {x86} - 19041
    hu-HU: 32-bit {x86} - 19041
    it-IT: 32-bit {x86} - 19041
    ja-JP: 32-bit {x86} - 19041
    ko-KR: 32-bit {x86} - 19041
    lt-LT: 32-bit {x86} - 19041
    lv-LV: 32-bit {x86} - 19041
    nb-NO: 32-bit {x86} - 19041
    nl-NL: 32-bit {x86} - 19041
    pl-PL: 32-bit {x86} - 19041
    pt-BR: 32-bit {x86} - 19041
    pt-PT: 32-bit {x86} - 19041
    ro-RO: 32-bit {x86} - 19041
    ru-RU: 32-bit {x86} - 19041
    sk-SK: 32-bit {x86} - 19041
    sl-SI: 32-bit {x86} - 19041
    sr-Latn-RS: 32-bit {x86} - 19041
    sv-SE: 32-bit {x86} - 19041
    th-TH: 32-bit {x86} - 19041
    tr-TR: 32-bit {x86} - 19041
    zh-CN: 32-bit {x86} - 19041
    zh-TW: 32-bit {x86} - 19041

    ============================================================
    Copy Distribution contents to work directory
    ============================================================

    Source Path:
    "19041.572.201008-1531.VB_RELEASE_SVC_PROD1_CLIENTMULTI_X86FRE_EN-US.ISO"

    ============================================================
    Detect install.wim details
    ============================================================

    Build: 19041
    Count: 15 Image(s)
    Arch : 32-bit

    ============================================================
    Extract language packs
    ============================================================

    ar-SA / 32-bit
    bg-BG / 32-bit
    cs-CZ / 32-bit
    da-DK / 32-bit
    de-DE / 32-bit
    el-GR / 32-bit
    en-GB / 32-bit
    en-US / 32-bit
    es-ES / 32-bit
    es-MX / 32-bit
    et-EE / 32-bit
    fi-FI / 32-bit
    fr-CA / 32-bit
    fr-FR / 32-bit
    he-IL / 32-bit
    hr-HR / 32-bit
    hu-HU / 32-bit
    it-IT / 32-bit
    ja-JP / 32-bit
    ko-KR / 32-bit
    lt-LT / 32-bit
    lv-LV / 32-bit
    nb-NO / 32-bit
    nl-NL / 32-bit
    pl-PL / 32-bit
    pt-BR / 32-bit
    pt-PT / 32-bit
    ro-RO / 32-bit
    ru-RU / 32-bit
    sk-SK / 32-bit
    sl-SI / 32-bit
    sr-Latn-RS / 32-bit
    sv-SE / 32-bit
    th-TH / 32-bit
    tr-TR / 32-bit
    zh-CN / 32-bit
    zh-TW / 32-bit

    ============================================================
    Mount install.wim - index 1/15
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572

    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    ============================================================
    Add LPs to install.wim - index 1/15
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572

    Image Version: 10.0.19041.572

    Processing 1 of 37 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~ar-SA~10.0.19041.1
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,232
    94,598
    450
    He probably is, with integrating all langs in 15 different indexes:D:rolleyes:

    Or did it only run on 1 of 15?
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    You are supposed to put FOD cab files in OnDemand\x86 or OnDemand\x64, not OnDemand itself
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,232
    94,598
    450
    #293 Enthousiast, Oct 28, 2020
    Last edited: Oct 28, 2020
    Code:
    set DVDPATH=
    set ISO=1
    set WINPE=0
    set SLIM=1
    set NET35=0
    
    Code:
    
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    de-DE: 64-bit {x64} - 19041
    
    ============================================================
    Copy Distribution contents to work directory
    ============================================================
    
    Source Path:
    "Win10_20H2_English_x64.iso"
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 19041
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Microsoft-Windows-LanguageFeatures-OCR-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Speech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to boot.wim - index 2
    ============================================================
    
    de-DE
    
    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Cleanup ISO payload
    ============================================================
    
    
    ============================================================
    Create ISO file
    ============================================================
    
    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
    Scanning source tree complete (29 files in 12 directories)
    
    Computing directory information complete
    
    Image file is 5259460608 bytes (before optimization)
    
    Writing 29 files in 12 directories to mu_windows_10_19041_x64_en_de.iso
    
    100% complete
    
    Storage optimization saved 4 files, 274432 bytes (1% of image)
    
    After optimization, image file is 5259257856 bytes
    Space saved because of embedding, sparseness or optimization = 274432
    
    Done.
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    Press any Key to Exit.
    
    
    Code:
    set DVDPATH=
    set ISO=1
    set WINPE=1
    set SLIM=1
    set NET35=0
    
    Code:
    
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    de-DE: 64-bit {x64} - 19041
    
    ============================================================
    Copy Distribution contents to work directory
    ============================================================
    
    Source Path:
    "Win10_20H2_English_x64.iso"
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 19041
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Microsoft-Windows-LanguageFeatures-OCR-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Speech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to boot.wim - index 2
    ============================================================
    
    de-DE
    
    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Cleanup ISO payload
    ============================================================
    
    
    ============================================================
    Create ISO file
    ============================================================
    
    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
    Scanning source tree complete (29 files in 12 directories)
    
    Computing directory information complete
    
    Image file is 5261492224 bytes (before optimization)
    
    Writing 29 files in 12 directories to mu_windows_10_19041_x64_en_de.iso
    
    100% complete
    
    Storage optimization saved 4 files, 274432 bytes (1% of image)
    
    After optimization, image file is 5261303808 bytes
    Space saved because of embedding, sparseness or optimization = 274432
    
    Done.
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    Press any Key to Exit.
    
    
    Code:
    set DVDPATH=
    set ISO=1
    set WINPE=1
    set SLIM=0
    set NET35=0
    
    Code:
    
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    de-DE: 64-bit {x64} - 19041
    
    ============================================================
    Copy Distribution contents to work directory
    ============================================================
    
    Source Path:
    "Win10_20H2_English_x64.iso"
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 19041
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Microsoft-Windows-LanguageFeatures-OCR-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Speech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to boot.wim - index 2
    ============================================================
    
    de-DE
    
    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to distribution
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Create ISO file
    ============================================================
    
    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 39 directories)
    Scanning source tree complete (950 files in 92 directories)
    
    Computing directory information complete
    
    Image file is 5529272320 bytes (before optimization)
    
    Writing 950 files in 92 directories to mu_windows_10_19041_x64_en_de.iso
    
    100% complete
    
    Storage optimization saved 28 files, 14923776 bytes (1% of image)
    
    After optimization, image file is 5516511232 bytes
    Space saved because of embedding, sparseness or optimization = 14923776
    
    Done.
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    Press any Key to Exit.
    
    
    With adk and pe installed this time:D
    Code:
    set DVDPATH=
    set ISO=1
    set WINPE=1
    set SLIM=0
    set NET35=0
    
    Code:
    
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    de-DE: 64-bit {x64} - 19041
    
    ============================================================
    Copy Distribution contents to work directory
    ============================================================
    
    Source Path:
    "Win10_20H2_English_x64.iso"
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 19041
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Set WinPE language packs paths
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19042.508
    
    Processing 1 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Microsoft-Windows-LanguageFeatures-OCR-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Microsoft-Windows-LanguageFeatures-Speech-de-de-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Update winre.wim / amd64
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Mount winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 5 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-HTA-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-Rejuv-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-StorageWMI-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\TEMP\WR\amd64\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add updated winre.wim to install.wim - index 1/1
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.508
    
    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.508
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add LPs to boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.508
    
    Processing 1 of 4 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 4 - Adding package WinPE-SRT-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 4 - Adding package WinPE-Setup-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 4 - Adding package WinPE-Setup-Client-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.508
    
    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~amd64~de-DE~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : C:\Tool\W10MUI_14u\_DVD\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Add language files to distribution
    ============================================================
    
    de-DE / 64-bit
    
    ============================================================
    Create ISO file
    ============================================================
    
    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 39 directories)
    Scanning source tree complete (952 files in 92 directories)
    
    Computing directory information complete
    
    Image file is 5499420672 bytes (before optimization)
    
    Writing 952 files in 92 directories to mu_windows_10_19041_x64_en_de.iso
    
    100% complete
    
    Storage optimization saved 28 files, 14923776 bytes (1% of image)
    
    After optimization, image file is 5486671872 bytes
    Space saved because of embedding, sparseness or optimization = 14923776
    
    Done.
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    Press any Key to Exit.
    
    
    The ondemands get integrated in all scenarios.
     
  13. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    #295 Outbreaker, Oct 29, 2020
    Last edited: Oct 29, 2020
    Looks like that's the problem. I tried it now with only 2 localization packs in the ".\OnDemand\x86" folder and then it works. :waycon1:
     
  14. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    @Outbreaker

    it will be easier to 7z the log then upload it
    using powershell will cause issues
     
  16. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    The Powershell command was the only way i found to output everything to a text file.
     

    Attached Files:

  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    @Outbreaker
    The output do not contain any errors (except "Access is denied" for EAlang fonts files)
    it's not clear why FODs are not added

    anyway, try attached script
     

    Attached Files:

  18. Outbreaker

    Outbreaker MDL Senior Member

    Jan 20, 2018
    286
    64
    10
    #300 Outbreaker, Nov 5, 2020
    Last edited: Nov 6, 2020
    The main problem is now gone, but the packages "microsoft-windows-languagefeatures-basic-*-package-x86.cab" are getting skipped.