[ARCHIVED] Windows Editions Reconstruction Project

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

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

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    Bless you!
     
  2. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    for %%i in (.\uups\*.esd) do .\bin\7z.exe x %%i -y -o".\mount\packages"
     

    Attached Files:

  3. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    bandicam 2022-03-11 15-40-10-276.jpg
    I don't understand this? SKU selection list is empty as you can see.
    I've captured the wim by using this command since there is not an option that you can choose the wim flag via DISM. Obviously it must be Windows Foundation.
    This is the command I've tried:
    Code:
    wimlib-imagex.exe capture E:\ C:\Users\<My Username>\Desktop\Unstaged\install.wim "Windows Longhorn Client" "Windows Longhorn Client (22000.469.amd64fre.co_release.220118-1733) EDITIONS:CLOUDEDITION,CLOUDEDITIONN,CORE,CORECOUNTRYSPECIFIC,COREN,CORESINGLELANGUAGE,EDUCATION,EDUCATIONN,ENTERPRISE,ENTERPRISEEVAL,ENTERPRISEG,ENTERPRISEGN,ENTERPRISEN,ENTERPRISENEVAL,IOTENTERPRISE,PPIPRO,PROFESSIONAL,PROFESSIONALCOUNTRYSPECIFIC,PROFESSIONALEDUCATION,PROFESSIONALEDUCATIONN,PROFESSIONALN,PROFESSIONALSINGLELANGUAGE,PROFESSIONALWORKSTATION,PROFESSIONALWORKSTATIONN,SERVERRDSH" --flags="Windows Foundation"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Use the xml in page1 to install the edition
    code:1.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-EnterpriseGEdition" version="10.0.22000.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
                <source location="Z:\EnterpriseG.mum" />
            </package>
        </servicing>
    </unattend>
    
    code:2.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-Client-Languagepack-Package" version="10.0.22000.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="en-us" />
                <source location="Z:\langpacks\en-us\update.mum" />
            </package>
        </servicing>
    </unattend>
    
    hint: unstaged image applied to Z:\
     
  5. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Could it be a problem about the VERSION?
     
  6. Applegame12345

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    Did you put pkeyconfig into the packages folder?
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #6847 xinso, Mar 11, 2022
    Last edited: Mar 11, 2022
    To install language pack, just use dism add-package is much more convenient. Otherwise, 38 languages, you have to modify or make 38 xmls.
     
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    No i didn't. Appearently using dism and unattend doesn't need it
     
  9. Applegame12345

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    To get an unstaged wim, you need both pkeyconfig.xrm-ms and pidgenx.dll
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
  11. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    I don't know what I'm supposed to do to unstage an ISO. I'm trying to do all of this manually, but somehow I always getting an error. I actually need either an automated script or a detailed tutorial for that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Applegame12345

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    1.xml in the unstaged ISO has info like this
    Plus, even an untouched ISO of 14357 has pkeyconfig.xrm-ms and pidgenx.dll inside of the packages folder at the root of install.wim.
    Code:
    Index : 1
    Name : Windows Longhorn Client
    Description : Windows Longhorn Client (14357.1000.amd64fre.rs1_release.160527-1700) EDITIONS:ENTERPRISE,CORE,COREARM,CORECONNECTED,CORECONNECTEDCOUNTRYSPECIFIC,CORECONNECTEDN,CORECONNECTEDSINGLELANGUAGE,CORECOUNTRYSPECIFIC,COREN,CORESINGLELANGUAGE,EDUCATION,EDUCATIONN,EMBEDDEDINDUSTRY,EMBEDDEDINDUSTRYA,EMBEDDEDINDUSTRYE,EMBEDDEDINDUSTRYEEVAL,EMBEDDEDINDUSTRYEVAL,ENTERPRISEEVAL,ENTERPRISEN,ENTERPRISENEVAL,ENTERPRISES,ENTERPRISESEVAL,ENTERPRISESN,ENTERPRISESNEVAL,ENTERPRISESUBSCRIPTION,ENTERPRISESUBSCRIPTIONN,PPIPRO,PROFESSIONAL,PROFESSIONALCOUNTRYSPECIFIC,PROFESSIONALEDUCATION,PROFESSIONALEDUCATIONN,PROFESSIONALN,PROFESSIONALS,PROFESSIONALSN,PROFESSIONALSINGLELANGUAGE,PROFESSIONALSTUDENT,PROFESSIONALSTUDENTN,PROFESSIONALWMC,PROFESSIONALWORKSTATION,PROFESSIONALWORKSTATIONN,STARTER,STARTERN
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #6854 xinso, Mar 11, 2022
    Last edited: Mar 11, 2022
    Yes, pkeyconfig.xrm-ms and pidgenx.dll are in Packages folder.
     
  14. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    #6855 example12345678912345678, Mar 11, 2022
    Last edited: Mar 11, 2022
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    You use iso-boot to stage the unstaged.wim. I use two simple xmls to stage it --much faster and convenient
     
  16. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    Master, can you tell me what a standard unstaged.wim looks like? I don't know if I'm doing it right?

    Code:
      <IMAGE INDEX="1">
        <DIRCOUNT>13908</DIRCOUNT>
        <FILECOUNT>57736</FILECOUNT>
        <TOTALBYTES>6960624251</TOTALBYTES>
        <HARDLINKBYTES>82331269</HARDLINKBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01D75A3A</HIGHPART>
          <LOWPART>0x45C417B7</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01D835B3</HIGHPART>
          <LOWPART>0xE041C669</LOWPART>
        </LASTMODIFICATIONTIME>
        <WIMBOOT>0</WIMBOOT>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <SERVICINGDATA>
            <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE>
          </SERVICINGDATA>
          <VERSION>
            <MAJOR>10</MAJOR>
            <MINOR>0</MINOR>
            <BUILD>22000</BUILD>
            <SPBUILD>1</SPBUILD>
            <SPLEVEL>0</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 11 专业版</NAME>
        <DESCRIPTION>Windows 11 专业版</DESCRIPTION>
        <FLAGS>professional</FLAGS>
        <DISPLAYNAME></DISPLAYNAME>
        <DISPLAYDESCRIPTION></DISPLAYDESCRIPTION>
      </IMAGE>
    </WIM>
    
    捕获.PNG
     
  17. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Found a problem of making 22000.1 unstaged iso:
    The setup.exe will not launch legacy setup when running on a working system(not pe)
    Identification: the functions in autorun.dll has changed , the one in 22000 will not check if the iso is unstaged.
    Solution: replace autorun.dll with the one in older builds like 19100.1051.
     
  18. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    捕获.PNG

    can't see