[ARCHIVED] Windows Editions Reconstruction Project

Discussion in 'Windows 10' started by whatever127, Jan 10, 2020.

Thread Status:
Not open for further replies.
  1. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
    #12401 xinso, Jul 31, 2023
    Last edited: Jul 31, 2023
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
    #12408 xinso, Aug 1, 2023
    Last edited: Aug 1, 2023
    I am lazy to collect all different components to save script size. So, 38.wim.
    Code:
    Image Index: 1
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97717
    Folders:20032
    Expanded Size:15568 MB
    
    Image Index: 2
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:96107
    Folders:19501
    Expanded Size:14891 MB
    
    Image Index: 3
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97372
    Folders:20020
    Expanded Size:14911 MB
    
    Image Index: 4
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97496
    Folders:20027
    Expanded Size:15008 MB
    
    Image Index: 5
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97600
    Folders:20040
    Expanded Size:15252 MB
    
    Image Index: 6
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97854
    Folders:20092
    Expanded Size:15054 MB
    
    Image Index: 7
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:96002
    Folders:19451
    Expanded Size:15091 MB
    
    Image Index: 8
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95998
    Folders:19414
    Expanded Size:15125 MB
    
    Image Index: 9
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97577
    Folders:20039
    Expanded Size:15193 MB
    
    Image Index: 10
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97546
    Folders:20054
    Expanded Size:15040 MB
    
    Image Index: 11
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95812
    Folders:19460
    Expanded Size:14760 MB
    
    Image Index: 12
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97349
    Folders:20013
    Expanded Size:14932 MB
    
    Image Index: 13
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97699
    Folders:20070
    Expanded Size:15128 MB
    
    Image Index: 14
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97591
    Folders:20040
    Expanded Size:15179 MB
    
    Image Index: 15
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97511
    Folders:20019
    Expanded Size:15075 MB
    
    Image Index: 16
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95911
    Folders:19472
    Expanded Size:14807 MB
    
    Image Index: 17
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97354
    Folders:20020
    Expanded Size:14927 MB
    
    Image Index: 18
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97539
    Folders:20034
    Expanded Size:15023 MB
    
    Image Index: 19
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:98598
    Folders:20286
    Expanded Size:15549 MB
    
    Image Index: 20
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:98343
    Folders:20260
    Expanded Size:15087 MB
    
    Image Index: 21
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95850
    Folders:19464
    Expanded Size:14785 MB
    
    Image Index: 22
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95850
    Folders:19464
    Expanded Size:14781 MB
    
    Image Index: 23
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97379
    Folders:20018
    Expanded Size:14913 MB
    
    Image Index: 24
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97389
    Folders:20024
    Expanded Size:14934 MB
    
    Image Index: 25
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97405
    Folders:20023
    Expanded Size:14951 MB
    
    Image Index: 26
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97501
    Folders:20024
    Expanded Size:15036 MB
    
    Image Index: 27
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97407
    Folders:20024
    Expanded Size:14940 MB
    
    Image Index: 28
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95928
    Folders:19474
    Expanded Size:14800 MB
    
    Image Index: 29
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:98486
    Folders:20269
    Expanded Size:15102 MB
    
    Image Index: 30
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95928
    Folders:19474
    Expanded Size:14814 MB
    
    Image Index: 31
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95911
    Folders:19472
    Expanded Size:14818 MB
    
    Image Index: 32
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:95884
    Folders:19468
    Expanded Size:14799 MB
    
    Image Index: 33
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97399
    Folders:20025
    Expanded Size:14940 MB
    
    Image Index: 34
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:96197
    Folders:19512
    Expanded Size:14877 MB
    
    Image Index: 35
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:97375
    Folders:20023
    Expanded Size:14931 MB
    
    Image Index: 36
    -------------------
    Name:Windows 11 Pro
    Description:Windows 11 Pro
    Flags:Professional
    Files:96066
    Folders:19495
    Expanded Size:14869 MB
    
    Image Index: 37
    -------------------
    Name:Windows 11 专业版
    Description:Windows 11 专业版
    Flags:Professional
    Files:98889
    Folders:20294
    Expanded Size:16068 MB
    
    Image Index: 38
    -------------------
    Name:Windows 11 專業版
    Description:Windows 11 專業版
    Flags:Professional
    Files:98786
    Folders:20295
    Expanded Size:15940 MB
    
    Then, I have to identify appropriate install.wim for target language by

    1. 38.txt
    Code:
    ar-sa.1
    bg-bg.2
    cs-cz.3
    da-dk.4
    de-de.5
    el-gr.6
    en-gb.7
    en-us.8
    es-es.9
    es-mx.10
    et-ee.11
    fi-fi.12
    fr-ca.13
    fr-fr.14
    he-il.15
    hr-hr.16
    hu-hu.17
    it-it.18
    ja-jp.19
    ko-kr.20
    lt-lt.21
    lv-lv.22
    nb-no.23
    nl-nl.24
    pl-pl.25
    pt-br.26
    pt-pt.27
    ro-ro.28
    ru-ru.29
    sk-sk.30
    sl-si.31
    sr-latn-rs.32
    sv-se.33
    th-th.34
    tr-tr.35
    uk-ua.36
    zh-cn.37
    zh-tw.38
    
    2.
    Code:
    set LANG=et-EE
    
    3. Detect Index number for target language
    Code:
    for /f "tokens=2 delims=." %%i in ('findstr /i /c:"%LANG%" files\38.txt') do (set "INDEX=%%i")
    
    4. Mount found Index number of target language
    Code:
    echo.
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo Mount %SOURCE% image
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    dism /english /mount-wim /wimfile:38.wim /index:%INDEX% /mountdir:%MT%
    
    5. Set wim information for the found Index number.
    Code:
    files\wimlib-imagex info 38.wim %INDEX% --image-property NAME="%NAME%" --image-property DESCRIPTION="%NAME%" --image-property FLAGS="%CURRENT%" --image-property DISPLAYNAME="%DISP%" --image-property DISPLAYDESCRIPTION="%USVER% %DISP%"
    
    6. Export the found index number to install.wim.
    Code:
    dism /english /export-image /sourceimagefile:38.wim /sourceindex:%INDEX% /destinationimagefile:install.wim /Compress:max /CheckIntegrity
    
    7. Delete 38.wim.


    Q: Why export?
    A: To optimize install.wim. Alike "wimlib-imagex optimize install.wim".

    Q: What's the difference between "export" and "wimlib-imagex"?
    A:
    export: The wim can be edited with 7-Zip.
    wimlib-imagex optimize: The wim can not be edited with 7-Zip.

    Q: Why edit the wim?
    A: Because the sysprepped\captured image may have somethings you forgot to delete\modify.
     
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
    #12410 xinso, Aug 1, 2023
    Last edited: Aug 1, 2023
    DIY, surely, is much more flexible than fixed official ISO.
     
  10. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,928
    150

    Tried both (wimlib 1.13.3) and the resulting wim is editable

    The main difference I was aware between export and optimize is that, by default, optimize doesn't change the compression method, but this can be overridden using the --recompress switch
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
    Thank you, mate.
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
  16. alexiv

    alexiv MDL Novice

    Jan 16, 2019
    10
    13
    0
    custom telemetry from vdi - where can i download it?
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,906
    14,620
    340
    #12419 xinso, Aug 2, 2023
    Last edited: Aug 2, 2023
  18. febrero2048

    febrero2048 MDL Member

    Oct 19, 2017
    114
    73
    10