locked
Add-Language pack with Powershell RRS feed

  • Question

  • Hi,

    I have a problem in my deployment with the language pack. With WDS/MDT/DHCP/DNS/AD, i deploy computers without any problem except one thing : the language.

    In fact, i install the windows in English and want to add a UI language in French for users. By GUI, i do that very easily, but by PowerShell I am completely blocked.

    Here is the screen I get :

    I tried a lot of things to do the same, install pack and set it by default, but I do not success to even install it.

    I don't have any idea how to do that.

    Regards,

    Arnaud H.


    • Edited by arnaud.helin Wednesday, September 14, 2016 1:51 PM
    Wednesday, September 14, 2016 1:50 PM

Answers

  • Hi,

    Thanks for your answer. In fact with your command and my different package I success to resolve the issue.

    A good way to do that (for people who searching solutions) is:

    1) Install the OS in the primary language

    2) Copy the language pack you want (pay attention about architecture) from : Language Pack

    3) Copy the lp_xxxxxxxx.cab (where xxxxxxx are numbers and letters) in C:\Users\Public\ folder.

    4) Rename lp_xxxxxxxx.cab into lp.cab

    5) Run as admin the cmd prompt

    6) Type: DISM /Online /Add-Package /PackagePath:C:\Users\Public\lp.cab

    7) Wait until the end of the installation

    8) Reboot

    9) Enjoy

    For sure, if you want to automate the all things you have to enter it into a script.

    Put the lp.cab on a share and with a GPO, run it at the first boot or reboot.

    In addition, if you want to set primary language for a user you can do it by Powershell typing:

    Set-WinUILanguageOverride <xx-xx> (where xx-xx is your language culture)

    Kind Regards,

    Arnaud H.


    • Marked as answer by arnaud.helin Wednesday, September 14, 2016 4:09 PM
    • Edited by arnaud.helin Wednesday, September 14, 2016 4:14 PM
    Wednesday, September 14, 2016 4:09 PM

All replies

  • Hello

    You can try the below command

    $command="C:\Windows\System32\dism.exe /online /add-package /packagepath:"+"C:\lang\fi-fi\lp.cab" 
    Invoke-Expression $command


    Regards, Regin Ravi

    Wednesday, September 14, 2016 2:46 PM
  • Hi,

    Thanks for your answer. In fact with your command and my different package I success to resolve the issue.

    A good way to do that (for people who searching solutions) is:

    1) Install the OS in the primary language

    2) Copy the language pack you want (pay attention about architecture) from : Language Pack

    3) Copy the lp_xxxxxxxx.cab (where xxxxxxx are numbers and letters) in C:\Users\Public\ folder.

    4) Rename lp_xxxxxxxx.cab into lp.cab

    5) Run as admin the cmd prompt

    6) Type: DISM /Online /Add-Package /PackagePath:C:\Users\Public\lp.cab

    7) Wait until the end of the installation

    8) Reboot

    9) Enjoy

    For sure, if you want to automate the all things you have to enter it into a script.

    Put the lp.cab on a share and with a GPO, run it at the first boot or reboot.

    In addition, if you want to set primary language for a user you can do it by Powershell typing:

    Set-WinUILanguageOverride <xx-xx> (where xx-xx is your language culture)

    Kind Regards,

    Arnaud H.


    • Marked as answer by arnaud.helin Wednesday, September 14, 2016 4:09 PM
    • Edited by arnaud.helin Wednesday, September 14, 2016 4:14 PM
    Wednesday, September 14, 2016 4:09 PM