[DISCUSSION] Patch WMC to run on Windows 10 final & possible alternatives

Discussion in 'Windows 10' started by ricktendo64, May 8, 2015.

  1. maxtorix

    maxtorix MDL Member

    Feb 3, 2010
    123
    89
    10
    To be able to integrate updates (and SXS extracted packages) for Server 2008R2 on Windows 7/WinPE and vice-versa.
    To be able to integrate standard Windows 7's LIP (not MUI) on Server 2008R2/WinPE.
     
  2. acer-5100

    acer-5100 MDL Expert

    Dec 8, 2018
    1,533
    1,040
    60
    #10542 acer-5100, Jan 9, 2023
    Last edited: Jan 11, 2023
    To clarify there are two branches of installers

    One (v12.x) by abbodi which is based on DISM and stock cabs + modified files

    the other V.8.8.x by T-S which doesn't use DISM at all, its basically a script that put in place the necessary files registry settings, services and so on.

    The former is conceptually more elegant but does not work on relatively recent windows, and also is prone to problems if uninstalled/reinstalled and generally on non virgin (if supported) windows installations.

    There are (or there were) few ways to fool windows DISM to accept a .cab not meant for a specific version, one of them was to export the package registry branch, editing it with the w8.1 version re-importing it, install the cabs, then remove the added registry settings.

    Nowadays is still possible to install an unintended cab, but that must be done offline, from a parallel OS (Or win PE), using the unpacked cab and editing the *.mum files, doing that may break monthly updates, given DISM has evolved in a way pickier thing than it was in 2015/2016.

    P.S. as stated above there is now a third kind of installer by garyan2, which is based on .msi just like a normal program (but it's available in x64 flavor only, which is a pity)
     
  3. maxtorix

    maxtorix MDL Member

    Feb 3, 2010
    123
    89
    10
    Can you post links about these two? It is intended for Windows 7/Server 2008R2 era, so probably should work.
     
  4. acer-5100

    acer-5100 MDL Expert

    Dec 8, 2018
    1,533
    1,040
    60
    Frankly I have not any link ready to any ready meal recipe, as those are methods found after long search and discussions

    Whatever

    Using the (online) registry method is relatively simple

    Launch regedit as trusted installer using nsudo/runasti or alike

    Export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages

    Open the resulting file and replace the windows version with the one of the package you want to install (say
    10.0.19041.1) Import the reg file, install your cab using dism.

    To remove the imported registry values edit the .reg again and add a - to the keys you want to remove (practically change any lines starting with [HKLM to [-HKLM. (EXCEPT THE FIRST LINE!!!! or you will remove the whole packages key) and import the .reg again
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    14,364
    73,919
    340
    .mum files are also needed for online spoofing

    @maxtorix
    check install.cmd / dism.reg / dism folder from WMC_6.3.9600.16384_x64_v12.7z to see how it works
     
  6. acer-5100

    acer-5100 MDL Expert

    Dec 8, 2018
    1,533
    1,040
    60
    No, not with the technique I mentioned above.

    The cab/cabs are enough (at least that was the case with 2015/2016 and earlier). No idea if it still works on current CUs/SSUs