Add Multilingual Support to Windows 10 Distribution - automated batch script

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

  1. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #841 BubuXP, Jul 24, 2024
    Last edited: Aug 6, 2024
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    529
    187
    30
    Yes. Thats why i grabbed packages with sxsexpender from original image.
     
  3. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #843 BubuXP, Jul 24, 2024
    Last edited: Jul 24, 2024

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    529
    187
    30
    #844 liliactr, Jul 24, 2024
    Last edited: Jul 24, 2024
    I will check it. I have looked to ADK install folder inside program files.

    Edit: I have checked. The iso you gave the link has all winpe language packages. Thanks.
     
  5. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    N00b question (again).
    So I've used W10MUI to integrate es-MX into the Windows 11 IoT Enterprise LTSC 2024 image.
    I was convinced that the base language (en-US) would be preserved, but after deploying the image, only es-MX was selectable.
    en-US seemed to have been completely erased?
    Not a big issue, but it would be nice to have BOTH languages selectable but the es-MX as default and administrative language.
    How or what should I adjust in the ini file to achieve this result?

    Cheers.
     
  6. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,934
    4,149
    60
    Both languages should be there, try to install the os with the legacy installer
    The new one acts as in-place upgrade even for clean installs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    Actually, I only use the resulting install.esd and apply it with imagex from a custom PE.
    No included installer is used, this is actually the first time I ran into this issue.

    Cheers.
     
  8. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    The article explains how a cleanup task removes unused languages from settings. The corresponding policy regkey has to be set, I assume as early as posible.
    Maybe as a firstlogon command in the autounattend file? Any suggestions as on how to implement this would be very welcome.
    Also, is the en-US language treated as "unused" language pack, even if it is the base language? That seems a bit strange.

    Cheers.
     
  9. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    I set that regkey right before unmounting using reg load/add/unload
     
  10. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    You mean during the W10MUI batch? That would be even cleaner. Can you share your modification to the script?

    Cheers.
     
  11. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    #852 tcntad, Jul 27, 2024
    Last edited: Jul 27, 2024
    Windows will remove languages around or before OOBE anyway so firstlogon wont work (I think) Alright, I see I added the regkeys right after mounting the image. Just copy "REG - Blocking Setup ..." part and place it right after mounting part like below

    Code:
    echo ============================================================
    echo Add LPs to install.wim - index %_i%/%imgcount%
    echo ============================================================
    Echo.
    
    Code:
    echo ============================================================
    echo REG - Blocking Setup from deleting LPs - index %_i%/%imgcount%
    echo ============================================================
    REG LOAD HKLM\WLPHIV %INSTALLMOUNTDIR%\Windows\System32\Config\Software
    REG ADD "HKLM\WLPHIV\Policies\Microsoft\Control Panel\International" /v BlockCleanupOfUnusedPreinstalledLangPacks /t REG_DWORD /d 1 /f
    REG ADD "HKLM\WLPHIV\Microsoft\Windows\CurrentVersion\Policies\TextInput" /v AllowLanguageFeaturesUninstall /t REG_DWORD /d 0 /f
    REG UNLOAD HKLM\WLPHIV
    echo ============================================================
    
     
  12. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,825
    2,426
    60
    Did you check the text files in each folder?
     
  13. son13wo33

    son13wo33 MDL Member

    Nov 24, 2011
    120
    24
    10
    I tried to integrate those languages in offline image using your Gdrive files but Dism didn't accept, it's versions deferent from the ones integrated in install wim
     
  14. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,825
    2,426
    60
    @son13wo33 For install.wim LPs and OnDemand stuff you need to read the respective build's text/html file inside Langs or OnDemand folders.
    For WinPE you need to install the respective build's ADK, which can be found in the ReadMe text file in the main folder.
     
  15. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    #857 tcntad, Aug 2, 2024
    Last edited: Aug 2, 2024
    You have extremly simple textfiles in basically each subfolder with links.. You also have a Read Me file, why even get Gdrive involved?
     
  16. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    I only uploaded the version found on the LTSC FoD DVD, because I only use LTSC versions of Windows. I don't know where you can find this specific version, other users will surely help you better.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. son13wo33

    son13wo33 MDL Member

    Nov 24, 2011
    120
    24
    10

    Attached Files: