[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,714
    14,439
    340
    #2681 xinso, May 12, 2021
    Last edited: May 12, 2021
  2. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2682 Tarsynear, May 12, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2683 xinso, May 12, 2021
    Last edited: May 12, 2021
    Windows 7 StarterE. Good. I'll have a look at it.

    No. I can't find E.
     
  4. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2684 Tarsynear, May 12, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2685 Tarsynear, May 12, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2686 xinso, May 12, 2021
    Last edited: May 13, 2021
    Q: How to expand cab?
    A:

    Part 1: Create expand tool

    3-1: Create a folder. e.g. ExpandCab

    3-2: Create Expand-cab.cmd in ExpandCab
    Code:
    @echo off
    pushd "%~dp0"
    
    set FOLDER=Z:
    
    dir /b %FOLDER%\*.cab >>%FOLDER%\cab.txt
    %WinDir%\System32\cscript //nologo replace.vbs %FOLDER%\cab.txt ".cab" ""
    
    for /f %%x in ('findstr /i . %FOLDER%\cab.txt 2^>nul') do (
    if not exist %FOLDER%\%%x md %FOLDER%\%%x
    %WinDir%\System32\expand -R "%FOLDER%\%%x.cab" -F:* "%FOLDER%\%%x"
    if exist "%FOLDER%\%%x\*.cab" %WinDir%\System32\expand -R "%FOLDER%\%%x\*.cab" -F:* "%FOLDER%\%%x"
    if /i exist "%FOLDER%\%%x\*.cab" (del /f /q "%FOLDER%\%%x\*.cab")
    if /i exist "%FOLDER%\%%x\*.ini" (del /f /q "%FOLDER%\%%x\*.ini")
    if /i exist %FOLDER%\cab.txt (del /f /q %FOLDER%\cab.txt)
    )
    
    :END
    pause
    exit
    
    3-3: Create replace.vbs in ExpandCab
    Code:
    Const ForReading = 1    
    Const ForWriting = 2
    
    strFileName = Wscript.Arguments(0)
    strOldText = Wscript.Arguments(1)
    strNewText = Wscript.Arguments(2)
    
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
    strText = objFile.ReadAll
    objFile.Close
    
    strNewText = Replace(strText, strOldText, strNewText)
    Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
    objFile.Write strNewText  'WriteLine adds extra CR/LF
    objFile.Close
    

    Part 2: Expand cab

    3-1: Put all cab files in a place. e.g. Z:
    3-2: Modify set FOLDER=Z: in Expand-cab.cmd, and save
    Code:
    no backslash at the end of Z:
    
    Right: 
    set FOLDER=Z:
    
    Wrong: 
    set FOLDER=Z:\
    
    3-3: Double-Click Expand-cab.cmd
     
  7. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Hi dear Master @xinso

    Could you share this Custom EnterpriseS esd file?

    Thanks in advanced.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2688 xinso, May 13, 2021
    Last edited: May 13, 2021
    Any Homebrew is not allowed at MDL.
     
  9. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    OK my dear friend @xinso ,

    I'm sorry for asking you, I know that you are an excellent person too and these "bad guys" you refer to are just "stupid guys" for me and certainly for many here, if the ADMs of CDM has treated you as a bad member, they are commenting on a mistake in my opinion, and if you don't like my point of view in this regard, then I will also be a bad member, as I would defend you even if they considered me as a bad member member, I don't care.

    I wish that all the real bad members that exist in this forum were like you, but I'm sure they don't have the capacity for that, as I said before, and they may hate me for it, but for me they will be nothing at all in that place called empty.

    You are one of my examples, where I try to mirror myself despite my faults.

    My sincere greetings.

    Kindly and humbly,
    @JeepWillys58
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2690 xinso, May 13, 2021
    Last edited: May 13, 2021
  11. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    Thank you! Dear Mr. Xinso!
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2692 xinso, May 13, 2021
    Last edited: May 13, 2021
    Q: How to extract packages directly from updates or UUP files or WinSxS, even a single manifest?
     
  13. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2693 Tarsynear, May 13, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2694 xinso, May 13, 2021
    Last edited: May 13, 2021
    Yeah. But the xml can only remove packages "without" owner. Right? Same as Dism, not enough privileges.
     
  15. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2695 Tarsynear, May 13, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    You can use findstr and echo to make xml.
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2697 xinso, May 13, 2021
    Last edited: May 13, 2021
    If you want to learn how Microsoft installs edge.wim to install.wim, you can install it with "dism /logpath:EdgeChromium.log".
     
  18. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    #2698 xinso, May 13, 2021
    Last edited: May 13, 2021
    I guess zhanglin is now busy in somehting. Let's wait. He might show picture later. I learn from his questions too.
     
  19. Tarsynear

    Tarsynear MDL Senior Member

    Jan 4, 2021
    303
    123
    10
    #2699 Tarsynear, May 13, 2021
    Last edited: Jun 12, 2022
    Reserved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,439
    340
    No. Same me.