Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,302
    450
    #7781 Enthousiast, Dec 10, 2021
    Last edited: Dec 10, 2021
    Basically it's this
    Code:
    wimlib-imagex update "install.wim" 1 --command="add 'file to add' '\folder to add file inside wim or esd\filename"
    1 = the index to update.

    example of my usage:
    Code:
    @echo off
    
    echo Checking for admin...
    
    if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
    
    :gotAdmin
        pushd "%CD%"
        CD /D "%~dp0"
    cls
    
    setlocal EnableDelayedExpansion
    
    for /f "tokens=3 delims=: " %%i in ('Bin\wimlib-imagex info "USB\sources\install.wim" ^| findstr /c:"Image Count"') do set images=%%i
    for /L %%i in (1,1,%images%) do (
       Bin\wimlib-imagex update "USB\sources\install.wim" %%i --command="add 'CMD\OfflineInsiderEnroll-262.cmd' '\users\public\desktop\OfflineInsiderEnroll-262.cmd'" >nul
    )
    pause
    this puts in the cmd file on the desktop into all indexes of the wim or esd.

    When there is a new build or update you will have to copy at least the new/updated boot.wim and install.wim anyway.
     
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    I am happy with MRP 141 and so it will finally be released this weekend.

    There may be still some little glitches with win 11 DEV/Insider builds but i can address those later - nothing show stopping. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,302
    450
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    As on my phone (at work) cant show any latest progress as not at home.

    But as mentioned before, a LOT of internal updates have been made, quite a few new or updated log entries, several new options and updated current ones too.

    The changelog may not contain all changes to the code but does contain the options done as they was completed prior to the WMIC fiasco m$ caused in the dev builds of win 11.

    Many changes been done to the code to cover the missing WMIC code so that MRP can operate like it always has. Not all these changes are noted in the changelog as not had time to write it all down due to the sometimes quick fixes etc along the way.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    MRP v141 has been uploaded, 2nd post link, password and hashes updated. :)

    Took a while but hopefully this will cover all the recent changes for Windows 11 and a lot more!

    + A Major re-write of specific sections and routines that used WMIC due to m$ removing the command from later Windows 11 images such as insider/Dev builds. The older OS's will not be affected but if WMIC is removed on those too at some point MRP will auto adjust to using the new alternative routines where possible. This is why the release was delayed, it was needed to make the project still work for later OS builds etc.

    + General OS options:
    1) Add 'On-Screen Keyboard' entry to the Desktop C/T Menu. OS Translated.
    2) Add 'System Information' to 'ThisPC/Computer' C/T Menu. OS Translated.

    + Windows 10/11 Options:
    3) Attempt to force block Cortana on Languages it is not usually installed on. The method used will usually get ignored on non supported languages, but please choose this one wisely as it 'might' upset something later.

    4) Add 'Selection' section to C/T Menus for easy access to 'Select All', 'None' and 'Invert' options.

    5) Allow overriding of Insider/Preview blocked MRP options for Insider Builds, note this could cause issues with the Insider OS later, use at your own risk!

    6) Add 'Task Manager' to the Desktop's C/T Menu for easy access to the Task Manager. OS Translated.

    7) Remove 'News/Interests' and 'Chat' Widget Apps. This uninstalls the Appx packages, so if you wish to use it later you may not be able to due to all the blocks added. This also affects 'Teams' apps too.

    + Updated Windows 11 detection as the Registry still shows 10 - this may change at a later stage if m$ update the Registry/Kernel.

    + Updated a few older options to cover changes in recent OS updates etc.

    + Various tweaks done to internal processing code, also some slight re-wording on some log entries.

    A lot of changes may not be shown above due to the many quick fixes made as progress was made. The new/updated options list is correct as they were done in mid November.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    Aaaand deploying Windows 10 (for now) to test:)
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    Should be ok on win10 as installed 20h1/2 on my new pc and everything i selected in options all was performed:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    Than I shall test out W11 soon
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    With win 11 i have only used the Insider build for testing the new routines that replace WMIC calls. That all seemed to be ok too. :)

    @Enthousiast has hammered the majority of the testing,,, and there has been a LOT of that, plus with all the changes in win11 the present 22000 and the later Insider versions which has caused the MRP 141 delays has allowed time to make sure the options are working etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    You and Enthousiast are the proper heroes at MDl, with Abbodi of course
     
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    Im not , i just make code changes that poor enth has to test :D and Abbodi helps fix where i messed up :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    Many thanks to those that tested the QT 119 while it was being updated to allow use when WMIC was missing etc.

    The code used in the QT was copied over to MRP so that helped speed up the upgrades to MRP required to also make win11 etc work ok.

    Abbodi helped with several areas of the code where i made slight errors etc so a huge thanks to him for those fixes. :hug2:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,578
    1,581
    150
    Oh shut it :p We happy you're around doing this for us!

    W11 installation checks out pretty good:)
     
  14. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,761
    7,692
    210
    Here's two snippets from my old laptop, just noticed something changed between "MRP - Query Tool v118.0-RC15 [Compiled: 10/30/2021 {UTC}]" and "MRP - Query Tool v118.0-BC1 [Compiled: 11/08/2021 {UTC}]", in the graphics section. This is a machine with Hybrid SLI. The versions after RC15 miss one of the two instances.

    Code:
      ===============================================[ Basic Graphics Information ]=============================================== 
     
    Adapter 1 Description      : NVIDIA GeForce 9400M {GF 9100MG + GF 9300MGS} {Ref:v}
    Adapter 1 Video Memory     : 256 MiB
    Adapter 1 Driver Date      : 2009-06-04
    Adapter 1 Driver Version   : 8.15.11.8613
    Adapter 1 Bits Per Pixel   : 32
    Adapter 1 Video Mode Desc  : 1440 x 900 x 4294967296 colors
     
    Adapter 2 Description      : NVIDIA GeForce 9400M {GF 9300MGS + GF 9100MG} {Ref:v}
    Adapter 2 Video Memory     : 256 MiB
    Adapter 2 Driver Date      : 2009-06-04
    Adapter 2 Driver Version   : 8.15.11.8613
     
    Video Ram {VRam} Notes     : The data may not always be accurate due to Windows API limitations, or if using shared RAM.
    General Notes              : Hardware that is not compatible with Windows Display Driver Model returns inaccurate values.
    WinSat Scores {Max: 7.9}   : CPU: 4.9 | RAM: 5.5 | Graphics: 4.9 | Primary Disk: 7.8 | Base Rating: 4.9
    WinSat Status Information  : The 'Experience Index' scores was valid.
    Code:
      ===============================================[ Basic Graphics Information ]=============================================== 
     
     
    Adapter 2 Description      : NVIDIA GeForce 9400M {GF 9300MGS + GF 9100MG} {Ref:v}
    Adapter 2 Video Memory     : 256 MiB
    Adapter 2 Driver Date      : 2009-06-04
    Adapter 2 Driver Version   : 8.15.11.8613
     
    Video Ram {VRam} Notes     : The data may not always be accurate due to Windows API limitations, or if using shared RAM.
    General Notes              : Hardware that is not compatible with Windows Display Driver Model returns inaccurate values.
    WinSat Scores {Max: 7.9}   : CPU: 4.9 | RAM: 5.5 | Graphics: 4.9 | Primary Disk: 7.8 | Base Rating: 4.9
    WinSat Status Information  : The 'Experience Index' scores was valid. 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    #7796 mxman2k, Dec 13, 2021
    Last edited: Dec 13, 2021
    (OP)
    Hmm that was using the old vbscript routine ,which was not always as reliable.

    Latest v119 QT uses the new vbs/PS hybrid does that show both?, it may show only one as it may see the hybrid SLI as a single active device.

    I am guessing the OS is win7 as the max Winsat is 7.9, on v119 QT it compensates for the different OS's now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    869
    1,470
    30
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    Looks like one of those sets of hardware mrp not able to cope with.

    But at that stage where it crashed the majority of code completed. So all options should of completed.

    Mainly it the clean up, but mrp will auto clean up anything left on a reboot so nothing lost as such.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,260
    20,930
    210
    Lenovo was a previous brand some issues happened.

    Sony is now another because Sony has not said w10 is fully compatible and that they not recommend installing it. Win8.1 was last approved os they used.

    Although i have installed w10 and w11 on Sony laptops and not had problems but i was lucky i guess.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...