[ARCHIVED] Windows Editions Reconstruction Project

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

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

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    #7781 zhanglin, May 6, 2022
    Last edited: May 6, 2022
    for reference learning

    Code:
    IBS    Callback_License_UnstagedLoadLicenseText: Parameters used to identify EULA : Language - [zh-cn]    Channel - [Volume]    Edition - [ENTERPRISEGN]
    IBS    InstallEditionPackages: Installing Edition [ENTERPRISEGN]
    IBS    InstallEditionPackages: Successfully installed edition package [E:\Packages\ENTERPRISEGN.mum]
    IBS    InstallEditionPackages: Successfully committed edition packages.
    IBS    InstallEditionPackages: Opened unattend file at [E:\Windows\ENTERPRISEGN.xml].
    IBS    InstallEditionPackages: Successfully validated unattend file.
    IBS    InstallEditionPackages: Successfully applied unattend settings.
    
    IBS    Callback_License_UnstagedLoadLicenseText: Language Pack (CAB file) found at [D:\Langpacks\zh-cn\lp.cab]
    IBS    LaunchPackageManager: Launching [X:\Sources\dism.exe  /logpath:E:\$WINDOWS.~BT\Sources\Panther\cbs.log /scratchdir:E:\$WINDOWS.~LS\PackageTemp\c64102f6-e522-4741-a9a5-de147fc83f2f /norestart /quiet /image:E:\ /sysdrivedir:C:\ /windir:Windows /add-package:"D:\Langpacks\zh-cn\LP.CAB"]
    IBS    LaunchPackageManager: Launching [X:\Sources\dism.exe  /logpath:E:\$WINDOWS.~BT\Sources\Panther\cbs_intl.log /scratchdir:E:\$WINDOWS.~LS\PackageTemp\c95f92b2-cab1-463d-bfa0-9c6746594374 /norestart /quiet /image:E:\ /sysdrivedir:C:\ /windir:Windows /set-skuintldefaults:zh-cn]
    
    CSI    00000008 Begin executing advanced installer phase 54 index 0 (sequence 0)
        Old component: [l:0]''
        New component: [l:0]''
        Install mode: delta
        Smart installer: true
        Installer ID: {d4486727-4d36-45a5-bc81-b8935aed1429}
        Installer name: 'Ngen Task Scheduler Tickler'
    CSI    00000009 Found something for the NGEN tickler to do if applicable on 3
    CSI    0000000a@2022/5/6:08:58:06.408 Executing Process 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Ngen.exe  Update /Queue /Delay'
    CSI    0000000b@2022/5/6:08:58:14.455 Executing Process 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Ngen.exe  Update /Queue /Delay'
     
  2. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    791
    512
    30
    Wait,you mean, you figured out how to use Ngen offline?
     
  3. Atenza

    Atenza MDL Junior Member

    Feb 16, 2011
    92
    69
    0
    I put files from...

    Windows\WinSXS
    Windows\WinSxS\Manifests\
    Windows\servicing\Packages\

    For non-uup builds (Windows 7, 8.1, 10 RTM), is there somewhere missing?
     
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
  6. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    Noļ¼Œthe meaning of sending it is to prove that Ngen is only online and runs regularly according to scheduled tasks.
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
  8. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    Transmog to other editions(15063 UNSTAGED)

    Code:
    IBS    CallBack_ConfigureWindowsFoundationImage:Found Windows foundation image.
    IBS    CallBack_ConfigureWindowsFoundationImage: LOG file path is [E:\$WINDOWS.~BT\Sources\Panther\cbs_skuassembly.log]. Offline Windows Path is [E:\Windows]. Offline system volume path is [C:\]. Edition ID is [ENTERPRISE]. MUM update file is [E:\Packages\ENTERPRISE.mum]. SMI update script is [E:\Packages\ENTERPRISE.xml]
    IBS    CallBack_ConfigureWindowsFoundationImage: copy skuoverride file [E:\Packages\ENTERPRISE.xml] to windir directory [E:\Windows\ENTERPRISE.xml].
    
    IBS    InstallEditionPackages: Edition [ENTERPRISE] can transmog to [EnterpriseG].
    IBS    InstallEditionPackages: Successfully staged edition package [E:\Packages\EnterpriseG.mum]
    IBS    InstallEditionPackages: Edition [ENTERPRISE] can transmog to [Education].
    IBS    InstallEditionPackages: Successfully staged edition package [E:\Packages\Education.mum]
    IBS    InstallEditionPackages: Edition [ENTERPRISE] --> ProductType [WinNT]
    IBS    InstallEditionPackages: Successfully set ProductType [WinNT]
    IBS    InstallEditionPackages: Installing Edition [ENTERPRISE]
    IBS    InstallEditionPackages: Successfully installed edition package [E:\Packages\ENTERPRISE.mum]
    IBS    InstallEditionPackages: Successfully committed edition packages.
    IBS    InstallEditionPackages: Opened unattend file at [E:\Windows\ENTERPRISE.xml].
    a.PNG b.PNG c.PNG
     
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
  10. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    791
    512
    30
    Testing Windows 7 build 7225 packages to staged image
    Result: upload_2022-5-7_16-33-25.png
    Log:
    Code:
    2022-05-07 14:02:40, Info                  CSI    000006d1@2022/5/7:06:02:40.390 CSI Advanced installer perf trace:
    CSIPERF:AIDONE;{3bb9fd2b-351e-4b9c-b1fc-ed0758805998};Microsoft-Windows-PSHED, Version = 6.1.7225.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral;8895
    2022-05-07 14:02:40, Info                  CSI    000006d2 End executing advanced installer (sequence 2643)
        Completion status: S_OK
    
    2022-05-07 14:02:40, Info                  CSI    000006d3 Begin executing advanced installer phase 10 (0x0000000a) index 2636 (0x0000000000000a4c) (sequence 2644)
        Old component: [l:0]""
        New component: [ml:286{143},l:284{142}]"Microsoft-Windows-NDIS, Culture=neutral, Version=6.1.7225.0, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS"
        Install mode: install
        Installer ID: {9f4ec79f-3a97-4772-b635-2899468900a2}
        Installer name: [3]"Mof"
    2022-05-07 14:02:40, Info                  CSI    000006d4 Performing 1 operations; 1 are not lock/unlock and follow:
      LockComponentPath (10): flags: 0 comp: {l:16 b:d02d3d0fd861d801d3130100c03a2c18} pathid: {l:16 b:d02d3d0fd861d801d4130100c03a2c18} path: [l:200{100}]"\??\X:\Windows\WinSxS\amd64_microsoft-windows-ndis_31bf3856ad364e35_6.1.7225.0_none_7561adcf42a0b105" pid: 3ac0 starttime: 132963766290986367 (0x01d861d749c5b57f)
    2022-05-07 14:02:40, Error                 CSI    00000001@2022/5/7:06:02:40.468 (F) Logged @2022/5/7:06:02:40.437 : [ml:104{52},l:102{51}]"MOF (install offline) $(runtime.wbem)\ndistrace.mof"
    [gle=0x80004005]
    2022-05-07 14:02:40, Error                 CSI    00000002@2022/5/7:06:02:40.468 (F) CMIADAPTER: Inner Error Message from AI HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
     [
    [139]"An error occurred while creating object 1 defined on lines 15 - 148:
    
    0X80041002 Class, instance, or property 'EventTrace' was not found.
    
    "
    ]
    [gle=0x80004005]
    2022-05-07 14:02:40, Error                 CSI    00000003@2022/5/7:06:02:40.468 (F) CMIADAPTER: AI failed. HRESULT = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)]
        Element:
        [85]"<mof xmlns="urn:schemas-microsoft-com:asm.v3" name="$(runtime.wbem)\ndistrace.mof" />"
    [gle=0x80004005]
    2022-05-07 14:02:40, Error                 CSI    000006d5@2022/5/7:06:02:40.468 (F) d:\winmain\base\wcp\cmiadapter\installers.cpp(352): Error 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)] originated in function Windows::WCP::CmiAdapter::CMIWrapperBasicInstaller::ResolveAndInvokeInstaller expression: hr
    [gle=0x80004005]
    2022-05-07 14:02:40, Info                  UI     aepic: TRACE,File::SetBaseFileInfoForPic,517,SetBaseFileInfoForPic: Added orphan file: c:\users\administrator\appdata\local\temp\865e882f-67ae-4c9f-8db8-12600d59627b\dismhost.exe
    
    2022-05-07 14:02:40, Info                  CBS    Failed to add \\?\D:\1\mount\Windows\servicing\Sessions\Sessions.xml to WER report because it is missing.  Continuing without it...
    2022-05-07 14:02:40, Error                 CSI    00000004@2022/5/7:06:02:40.547 (F) CMIADAPTER: Exiting with HRESULT code = 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].
    [gle=0x80004005]
    2022-05-07 14:02:40, Error                 CSI    000006d6@2022/5/7:06:02:40.547 (F) d:\winmain\base\wcp\cmiadapter\installers.cpp(123): Error 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)] originated in function Windows::WCP::CmiAdapter::CMIWrapperBasicInstaller::Install expression: hr
    [gle=0x80004005]
    2022-05-07 14:02:40, Info                  CBS    Failed to add \\?\D:\1\mount\Windows\servicing\Sessions\Sessions.xml to WER report because it is missing.  Continuing without it...
    2022-05-07 14:02:40, Info                  CSI    000006d7@2022/5/7:06:02:40.604 CSI Advanced installer perf trace:
    CSIPERF:AIDONE;{9f4ec79f-3a97-4772-b635-2899468900a2};Microsoft-Windows-NDIS, Version = 6.1.7225.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral;213363
    2022-05-07 14:02:40, Info                  CSI    000006d8 Performing 1 operations; 1 are not lock/unlock and follow:
      LockComponentPath (10): flags: 0 comp: {l:16 b:22ae5d0fd861d801d6130100c03a2c18} pathid: {l:16 b:22ae5d0fd861d801d7130100c03a2c18} path: [l:232{116}]"\??\X:\Windows\WinSxS\x86_microsoft.windows.s..ation.badcomponents_31bf3856ad364e35_6.1.7225.0_none_aa0da5f03152f44b" pid: 3ac0 starttime: 132963766290986367 (0x01d861d749c5b57f)
    2022-05-07 14:02:40, Error      [0x018020] CSI    000006d9 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 80041002 [Error,Facility=FACILITY_ITF,Code=4098 (0x1002)].  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable (2)[gle=0x80004005]
    2022-05-07 14:02:40, Info                  CBS    Failed to add \\?\D:\1\mount\Windows\servicing\Sessions\Sessions.xml to WER report because it is missing.  Continuing without it...
    2022-05-07 14:02:40, Info                  CSI    000006da End executing advanced installer (sequence 2644)
        Completion status: HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED)
    
    2022-05-07 14:02:40, Info                  CSI    000006db Begin executing advanced installer phase 10 (0x0000000a) index 2637 (0x0000000000000a4d) (sequence 2645)
        Old component: [l:0]""
        New component: [ml:286{143},l:284{142}]"Microsoft-Windows-NDIS, Culture=neutral, Version=6.1.7225.0, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS"
        Install mode: install
        Installer ID: {3bb9fd2b-351e-4b9c-b1fc-ed0758805998}
        Installer name: [6]"Events"
    2022-05-07 14:02:40, Info                  CSI    000006dc@2022/5/7:06:02:40.681 CSI Advanced installer perf trace:
    CSIPERF:AIDONE;{3bb9fd2b-351e-4b9c-b1fc-ed0758805998};Microsoft-Windows-NDIS, Version = 6.1.7225.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral;23363
    2022-05-07 14:02:40, Info                  CSI    000006dd End executing advanced installer (sequence 2645)
        Completion status: S_OK 
    @xinso What's about this? Is there an official unstaged build close to this one?
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
    #7791 xinso, May 7, 2022
    Last edited: May 7, 2022
    That's Mission: Impossible to me.

    Perhaps it needs "AdvancedInstallers" on System32 and SysWOW64.
     
  12. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    791
    512
    30
    It doesn't work. Got the same error.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
    Search or wait those Unstaged iso experts to share.
     
  14. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    791
    512
    30
    The strangest thing is that other mofs have the EventTrace class and they are installed fine.
    Maybe a registry issue.
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
    #7795 xinso, May 7, 2022
    Last edited: May 7, 2022
    They are "installed". So check registry for exact package(s).
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,763
    14,471
    340
    #7796 xinso, May 7, 2022
    Last edited: May 7, 2022
    Q: How to make 14393.0 Unstaged?
     
  17. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    What is different from unstaged (all skus is known) and staged
     
  18. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    you can try apply wim using dism
     
  19. example12345678912345678

    Dec 29, 2019
    574
    327
    30
    That's not possible since that's unstaged.
    Install.wim file in Unstaged ISOs are much different than standard (Staged) ISOs.
    Unstaged:
    • Install.wim of ISO is neutral (meaning it does not have any packages related to editions, language packs etc. installed). Their files are usually stored in <WIM Root>\Packages folder.
    • It can only be installed via Windows Setup. Meaning you cannot install it via just applying using DISM.
    • It stores multiple editions (In my image there're 27 editions listed) in one index.
    • Language pack is stored in <ISO Root>\langpacks\xx-XX\lp.cab file.
    • It's common in late-2005 to mid-2006.
    • Due to compilation step it's way slower when compared to staged ISOs.
    • It's installed with these steps:
    Code:
    1. Apply install.wim
    2. Compile Packages folder and copy them to respective folders.
    3. Install language pack.
    4. Create boot files.
    5. Restart.
    Staged:
    • Install.wim of ISO has a specific edition, language pack, etc installed.
    • It can be installed via just applying using DISM.
    • All editions are separated to indexes.
    • Language pack is included with install image.
    • It's common starting with Windows 7 (not including checked/debug versions). Starting with Windows 8, 99% percent of ISOs are staged. But there're a few exceptions such as 10586.1000 (server ARM64) or 14357.1000.
    • It's way faster when compared to unstaged ISOs.
    • It's installed with these steps:
    Code:
    1. Apply install.wim
    2. Create boot files.
    3. Restart.
    If I have some mistakes, please tell me. So I can fix them.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...