Add Multilingual Support to Windows 10 Distribution - automated batch script

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

  1. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    478
    119
    10
    #21 venioni, Aug 10, 2016
    Last edited by a moderator: Apr 20, 2017
    I run sfc /scannow but not found nothing

    Code:
    Microsoft Windows [Version 10.0.14393](c) 2016 Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.
    
    
    C:\Windows\system32>sfc /scannow
    
    
    Beginning system scan.  This process will take some time.
    
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    
    Windows Resource Protection did not find any integrity violations.
    
    
    C:\Windows\system32>
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    #22 abbodi1406, Aug 10, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Maybe the protection program cause it
    check dism health
    Code:
    Dism /Online /Cleanup-Image /ScanHealth
     
  3. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    478
    119
    10
    #23 venioni, Aug 10, 2016
    Last edited by a moderator: Apr 20, 2017

    I run but not error found

    Code:
    Microsoft Windows [Version 10.0.14393](c) 2016 Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.
    
    
    C:\Windows\system32>Dism /Online /Cleanup-Image /ScanHealth
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0
    
    
    Image Version: 10.0.14393.0
    
    
    [==========================100.0%==========================] No component store corruption detected.
    The operation completed successfully.
    
    
    C:\Windows\system32>
    
    i think the proplem is that the script read on my pc wrong arch, i try to run the script on windows 8.1 enterprise x64 with no adk install to test and see if that can work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    478
    119
    10
    I run script multi lang on windows 8.1 enterprise x64 with adk 14393 and work fine ,i beleve the proplem on my windows 10 pro was tha i have install
    visual studio 2015 and adk 14393 both have on programs files (x86) the same folder Windows Kits and the sripts makes wrong on the bath and the arch of my pc(this is my thought maybe i make wrong i dont know) .

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    The script uses system DISM if the host is win10
    and dism itself detect the arch and other parameter
     
  6. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    478
    119
    10
    maybe some other proplem have my windows 10 pro 14393 and cant run the script anyway the script works fine, thanks for the good work...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. nasa

    nasa MDL Member

    Dec 2, 2007
    108
    16
    10
    Can the Multilingual Image be used for upgrade install?

    I tried it, but it says I'm using the wrong language (except when the original ISO language is used on the corresponding installed language)

    e.g:

    Add ru-ru to en-us image.
    Start upgrade install on running ru-ru Windows -> wrong language
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,023
    93,848
    450
    #28 Enthousiast, Dec 7, 2016
    Last edited by a moderator: Apr 20, 2017
    Did you specify the preferred language ru-RU?

    Code:
    set DEFAULTLANGUAGE=
     
  9. nasa

    nasa MDL Member

    Dec 2, 2007
    108
    16
    10
    #29 nasa, Dec 7, 2016
    Last edited by a moderator: Apr 20, 2017
    No. But that's the point: I want to add "n" languages and be able to use the image to upgrade installs in all "n" languages.

    I also tried editing lang.ini in the sources folder but that only changes the first few screens of the install process. When it gets to "What to keep" it says it's the wrong language.

    BTW, I noticed the EULA is always in the original ISO language (even after changing lang.ini)
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,023
    93,848
    450
    It only can upgrade the default set language, afaik.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    Re-add cumulative update KB3200970, or integrate new latest one
     
  12. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    @ abbodi1406

    Please if you tell me how to do it.

    Thank you and best regards!
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    I have nothing more to add

    maybe it's better to use vanilla 14393.0 iso
     
  14. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    Ok thanks.
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,023
    93,848
    450
    Abbodi1406, afaik he is talking about the 15025 insider release, with the talking/listening setup (verbal setup).
     
  16. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    Why do we display an error at the end of the script.

    Thank you.

    ============================================================
    Prepare work directories
    ============================================================


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

    sl-SI: 64-bit {x64}

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

    Source Path:
    "d:\ISO\W10_15060.iso"

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

    Build: 15060
    Count: 1 Image(s)
    Arch : 64-bit

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

    sl-SI / 64-bit

    ============================================================
    Add language files to distribution
    ============================================================

    sl-SI / 64-bit

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

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0

    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.14393.0

    Image Version: 10.0.15060.0

    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~sl-SI~10.0.15060.0
    [==========================100.0%==========================]
    The operation completed successfully.

    ============================================================
    Update language settings
    ============================================================


    ============================================================
    Enable .NET Framework 3.5 - index 1/1
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0

    Image Version: 10.0.15060.0

    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.

    ============================================================
    Unmount install.wim - index 1/1
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0

    Image File : C:\MUIDVD\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.14393.0

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

    ============================================================
    Unmount boot.wim - index 1/2
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0

    Image File : C:\MUIDVD\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.14393.0


    Error: 0xc1510113

    The specified image does not exist in the WIM.
    Check the WIM first for existing images.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    ============================================================
    Copy language files to boot.wim - index 2
    ============================================================

    sl-SI
    The system cannot find the path specified.
    The system cannot find the path specified.

    ============================================================
    Unmount boot.wim - index 2/2
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0


    Error: 50

    The request is not supported.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    ============================================================
    ERROR: Could not unmount WIM image
    ============================================================

    Press any Key to Exit.
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,023
    93,848
    450
    That's because you're running the script on an UUP sourced ISO, they don't have boot.wim index 2.