Add Multilingual Support to Windows 8.1 Setup DVD - automated batch script

Discussion in 'Windows 8' started by abbodi1406, Sep 25, 2013.

  1. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Think i may have found the issue i am trying to localize en_windows_8_1_pro_vl_x64_dvd_2971948 - which only has index 1 ;)
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    #22 abbodi1406, Oct 31, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thats is not a problem, the script can manage any indexes number :)
    and you can see it in your post :D
    Code:
    index 1 of 1
     
  3. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    #23 NICK@NUMBER11, Nov 1, 2013
    Last edited by a moderator: Apr 20, 2017
    does not work on the iso i have as above
     
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    your script works 100% on the following iso versions....

    en_windows_8_1_x64_dvd_2707217
    en_windows_8_1_x86_dvd_2707392

    however but it does not work with the released iso that contain the Rollup...

    en_windows_8_1_pro_vl_x64_dvd_2971948
    en_windows_8_1_pro_vl_x86_dvd_2972633

    Dont understand why, its it because the first 2 iso are retail and the second 2 are v/l?

    :eek:
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    Hmmmm..
    I will make a test on enterprise (Rollup release) and get back to you :D
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    Bug cause is found :biggrin:
    the error occurs in the Rollup releases, because the winre.wim file has System & Hidden Attributes, therefore it cannot be copied (and later replaced) before clearing those attributes first.
    all fixed now.

    Script updated.
    Thanks for the heads up NICK@NUMBER11 :hug2:
     
  7. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
  8. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    #28 NICK@NUMBER11, Nov 7, 2013
    Last edited by a moderator: Apr 20, 2017
    Tested it now within VM, however an enjoying thing is that windows updates is offering the roll up updates again, as the GB language pack was installed during setup and therefore needs to update the files. This sort of cancels out what i was trying to do to have a GB Roll Up install.wim... and not have windows offer the updates again.. :eek:

    So is there a way to resolve this issue, as the GB language pack is pending install, see list of packages ..

    Code:
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.16384
    
    Image Version: 6.3.9600.16384
    
    Packages listing:
    
    
    ------------------------------------------------------------------------------------------------------------- | --------------- | ------------- | ----------------
    Package Identity                                                                                              | State           | Release Type  | Install Time    
    ------------------------------------------------------------------------------------------------------------- | --------------- | ------------- | ----------------
    Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-GB~6.3.9600.16384              | Install Pending | Language Pack | 06/11/2013 18:35
    Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384              | Installed       | Language Pack | 30/09/2013 03:50
    Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.3.9600.16384                                   | Installed       | Foundation    | 22/08/2013 14:46
    Microsoft-Windows-Security-SPP-Component-SKU-Professional-GVLK-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 | Installed       | Feature Pack  | 30/09/2013 04:02
    Package_for_KB2883200~31bf3856ad364e35~amd64~~6.3.1.18                                                        | Installed       | Update        | 30/09/2013 04:21
    Package_for_KB2889543~31bf3856ad364e35~amd64~~6.3.1.0                                                         | Installed       | Update        | 30/09/2013 04:21
    Package_for_KB2894029~31bf3856ad364e35~amd64~~6.3.1.0                                                         | Installed       | Update        | 30/09/2013 04:21
    Package_for_KB2894179~31bf3856ad364e35~amd64~~6.3.1.0                                                         | Installed       | Update        | 30/09/2013 04:21
    
    The operation completed successfully.
    
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    That's why RTM release is better because it's pure :D

    you have to add/integrate the updates again using .msu files, there is no other workaround.
     
  10. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    ok thanks understand.. will do that

     
  11. sni-ir

    sni-ir MDL Novice

    Sep 28, 2012
    20
    0
    0
    i do it but it show this message :
    could not found the language pack
    press any key to exit

    i download my language (ar-sa) and but in langback then show this problem
    the second try edit MUI worked and default language and same the problem >>>
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    Make sure you set the correct language path in the script
     
  13. sni-ir

    sni-ir MDL Novice

    Sep 28, 2012
    20
    0
    0
    #33 sni-ir, Nov 17, 2013
    Last edited by a moderator: Apr 20, 2017
    Code:
    @echo off
    pushd "%~dp0"
    set WORKDIR=%~dp0
    set ARCH=amd64
    set LANGUAGES=1
    set LPFILE1=C:\MUIDVD\langpacks\ar-sa\lp.cab
    set LPFILE2=
    set LPFILE3=
    set LPFILE4=
    set LPFILE5=
    set LPFILE6=
    set LPFILE7=
    set LPFILE8=
    set LPFILE9=
    set LANGUAGE1=ar-sa
    set LANGUAGE2=
    set LANGUAGE3=
    set LANGUAGE4=
    set LANGUAGE5=
    set LANGUAGE6=
    set LANGUAGE7=
    set LANGUAGE8=
    set LANGUAGE9=
    set DEFAULTLANGUAGE=ar-sa
    set DEFAULTTIMEZONE="Central Europe Standard Time"
    set SETUPLANGUAGE=en-us
    
    set DVDDIR=%WORKDIR%DVD
    set DVDISO=%WORKDIR%mu_windows_8_1_x86_dvd.iso
    if "%ARCH%"=="amd64" set DVDISO=%WORKDIR%mu_windows_8_1_x64_dvd.iso
    set DVDLABEL=IRM_CCSA_X86FRE_MUI_DV5
    if "%ARCH%"=="amd64" set DVDLABEL=IRM_CCSA_X64FRE_MUI_DV5
    set DVDBOOT=uefi
    
    set TEMPDIR=%WORKDIR%TEMP
    set EXTRACTDIR=%TEMPDIR%\extract
    set LPEXTRACTDIR=%EXTRACTDIR%\langpack
    set PEEXTRACTDIR=%EXTRACTDIR%\winpe
    set MOUNTDIR=%WORKDIR%MOUNT
    set INSTALLMOUNTDIR=%MOUNTDIR%\install
    set WINREMOUNTDIR=%MOUNTDIR%\winre
    set BOOTMOUNTDIR=%MOUNTDIR%\boot
    i'm put my language C:\MUIDVD\langpacks\ar-sa\lp.cab
     
  14. sni-ir

    sni-ir MDL Novice

    Sep 28, 2012
    20
    0
    0
    thank you very much :eek:
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    Hayak allah :)
     
  16. sni-ir

    sni-ir MDL Novice

    Sep 28, 2012
    20
    0
    0
    Alla Yhayi aslak
    i make it and finished the process but when i make bootable usb from result iso i and when insitall windows the language arabic not found
    so it find in iso but don't work when i install windows >>>>
     
  17. mzakho

    mzakho MDL Member

    Nov 22, 2008
    166
    73
    10
    thanks

    if the script work 100% you can not find Choice of language at setup ,the script appears only the English language in the selection window will appear when boots

    4eJWZ.png


    if you need Multilanguage appear on starup boot must the script include winpe-langpacks to see like the photo

    2a0JR.png
     
  18. sni-ir

    sni-ir MDL Novice

    Sep 28, 2012
    20
    0
    0
    my friends in photo one i have one language (english) only
    how i can fix this problem ???
    thank you
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,895
    340
    Verify all settings very well

    i just did a test using ar-sa and en_windows_8_1_x86_dvd_2707392.iso, the arabic language is found at the setup as expected
    you made suspect of myself :D