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

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

  1. wainakh

    wainakh MDL Novice

    Mar 21, 2016
    4
    0
    0
    I don't know exactly but when i try to start it in virtualbox it shows me some errors and black monitor.
    So right now i will try again and will post information about errors exactly.
     
  2. wainakh

    wainakh MDL Novice

    Mar 21, 2016
    4
    0
    0
    I think that i found solution!
    So that error was from virtualbox, but i can't post images cose i am new here...
    ( i currently have 3 posts only.)
    That error was because when i created virtual machine i always selected version as windows 7 (x64)
    But In the last time i decided to chande version as windows 8.1 (x64) and it works without any problem...

    Thank you!
     
  3. DRSayedAbdElsalam

    DRSayedAbdElsalam MDL Junior Member

    Aug 25, 2015
    98
    24
    0
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,292
    94,805
    450
    #164 Enthousiast, Mar 23, 2016
    Last edited by a moderator: Apr 20, 2017

    Example:
    Code:
    Dism /mount-wim /wimfile:x:\install.wim /index:1 /mountdir:y:\mount
    Dism /Image:y:\Mount /Add-Package /PackagePath:z:\updates\
    Dism /unmount-wim /mountdir:y:\mount /commit
     
  5. DRSayedAbdElsalam

    DRSayedAbdElsalam MDL Junior Member

    Aug 25, 2015
    98
    24
    0
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    #167 abbodi1406, Apr 2, 2016
    Last edited by a moderator: May 23, 2017
    (OP)
  7. DRSayedAbdElsalam

    DRSayedAbdElsalam MDL Junior Member

    Aug 25, 2015
    98
    24
    0
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    The links are still working

    those files are not needed with the new refresh LPs
    only winpe LPs need it, but that's not required

    is the iso used untouched? meaning install.wim don't have manually integrated updates
     
  9. DRSayedAbdElsalam

    DRSayedAbdElsalam MDL Junior Member

    Aug 25, 2015
    98
    24
    0
    #170 DRSayedAbdElsalam, Apr 3, 2016
    Last edited by a moderator: Apr 20, 2017
    yes it is untouched, I integrate languages first and the used iso is:
    Code:
    en_windows_8.1_with_update_x86_dvd_6051550.iso - 2.98 GB
    MD5Checksum: 46CE6553A0E0ABC264B77C1FC59DFB29 
    SHA-1 Checksum: C7FA828E01E98B601E0ACA8019F1CB223EB23223
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    I tested this ido and .net3.5 enabled successfully

    you could check C:\Windows\Logs\DISM\dism.log to see the exact error file
    search for error code
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    #173 abbodi1406, Apr 3, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,292
    94,805
    450
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,292
    94,805
    450
    #176 Enthousiast, Apr 3, 2016
    Last edited: Apr 3, 2016
    And all is solved :)

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


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

    de-DE: 32-bit {x86}

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

    Source Path:
    "en_windows_8.1_enterprise_with_update_x86_dvd_6050710.iso"

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

    Count: 1 Image(s)
    Arch : 32-bit

    ============================================================
    Set WinPE language packs paths
    ============================================================

    de-DE / 32-bit

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

    de-DE / 32-bit

    ============================================================
    Extract files from .NET Framework 3.5 package
    ============================================================


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

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

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

    ============================================================
    Update winre.wim / x86
    ============================================================

    1 file(s) copied.

    ============================================================
    Mount winre.wim
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

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

    ============================================================
    Add LPs to winre.wim
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

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


    ============================================================
    Cleanup the image
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

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

    ============================================================
    Unmount winre.wim
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image File : D:\W8MUI_2\TEMP\WR\x86\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.10586.0

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

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

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

    Processing 1 of 1 - Adding package Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~de-DE~6.3.1.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.10586.0

    Image Version: 6.3.9600.17031

    Enabling feature(s)
    [==========================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.10586.0

    Image File : D:\W8MUI_2\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.10586.0

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

    Image Version: 6.3.9600.17031

    Processing 1 of 2 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package WinPE-SRT-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

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


    ============================================================
    Cleanup the image
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

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

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

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image File : D:\W8MUI_2\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.10586.0

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

    Image Version: 6.3.9600.17031

    Processing 1 of 4 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 4 - Adding package WinPE-SRT-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 3 of 4 - Adding package WinPE-Setup-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 4 of 4 - Adding package WinPE-Setup-Client-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

    Processing 1 of 5 - Adding package WinPE-EnhancedStorage-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package WinPE-SecureStartup-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package WinPE-WMI-Package~31bf3856ad364e35~x86~de-DE~6.3.9600.16384
    [==========================100.0%==========================]
    The operation completed successfully.

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


    ============================================================
    Cleanup the image
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image Version: 6.3.9600.17031

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

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

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

    Image File : D:\W8MUI_2\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.10586.0

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

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

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

    ============================================================
    Rebuild install.wim
    ============================================================

    Deployment Image Servicing and Management tool
    Version: 10.0.10586.0

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

    ============================================================
    Create ISO file
    ============================================================

    CDIMAGE 2.53m CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2007. All rights reserved.
    For Microsoft internal use only.


    Scanning source tree (500 files in 14 directories)
    Scanning source tree complete (928 files in 92 directories)

    Computing directory information complete

    Image file is 3085402112 bytes (before optimization)

    Writing 928 files in 92 directories to mu_windows_8.1_with_update_x86_dvd.iso

    100% complete

    Storage optimization saved 39 files, 14682112 bytes (1% of image)

    After optimization, image file is 3072872448 bytes
    Space saved because of embedding, sparseness or optimization = 14682112

    Done.

    ============================================================
    Remove temporary directories
    ============================================================


    ============================================================
    Done
    ============================================================

    Press any Key to Exit.

    What's the chance two people, testing it, downloaded the wrong dotnetpackage and didn't check the filesize/checksums :)

    EDIT: the mini script with install.wim next to it doesn't work when setwimpath is left blank. It creates the workfolders and then dissapears without running.

    EDIT2: the miniscript doesn't run at all, also with filled in wimpath.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    #177 abbodi1406, Apr 3, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,292
    94,805
    450
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,920
    340
    Because it's a mini :D
    anyway, slim only affects winre.wim here

    thanks for your help in detecting errors :)
     
  17. DRSayedAbdElsalam

    DRSayedAbdElsalam MDL Junior Member

    Aug 25, 2015
    98
    24
    0
    #180 DRSayedAbdElsalam, Apr 4, 2016
    Last edited by a moderator: Apr 20, 2017