Multi-OEM/Retail Project {MRP} - Mk3

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

  1. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    I will see what i can do :) once i find a way to detect the details correctly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Playing about with some VC++ detection script...

    Results so far: (only VC++ 2015 installed on my laptop...

    Code:
    VS 2010 not installed
    VS 2012 not installed
    
    [VC++ 2015 x86 v14.0.23026]
    [VC++ 2015 x64 v14.23.27820]
    Will test other VC installs but im not sure on those below 2010 so may just detect 2010 and above....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Installed the VC++ AIO results gave this:

    Code:
    VS 2010 not installed
    VS 2012 not installed
    
    [VC++ 2012 x86 v11.0.61135]
    [VC++ 2012 x64 v11.0.61135]
    [VC++ 2013 x86 v12.0.40664]
    [VC++ 2013 x64 v12.0.40664]
    [VC++ 2015 x86 v14.32.31332]
    [VC++ 2015 x64 v14.32.31332]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    Maybe rebrand it to VC++ 2015-2022 or 2015+ :)

    below 2010 detection is indeed not easy

    VC++ 2008 got this Version registry, VC++ 2005 don't
    Code:
    ; x64 or x86 on x86
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033]
    "Version"="30729.7523"
    
    : x86 on x64
    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033]
    "Version"="30729.7523"
    other nonpractical check
    Code:
    dir /b %SystemRoot%\WinSxS\amd64_microsoft.vc80.mfc_*
    dir /b %SystemRoot%\WinSxS\x86_microsoft.vc80.mfc_*
    dir /b %SystemRoot%\WinSxS\amd64_microsoft.vc90.mfc_*
    dir /b %SystemRoot%\WinSxS\x86_microsoft.vc90.mfc_*
     
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Agree about that!

    I am struggling with below 2010 V++ , at moment just working out how to get the variables onto one line to look neater than separate lines....

    to look like:

    VC++ 2010+ : 2012 x86 v11.0.61135, 2012 x64 v11.0.61135, 2013 x86 v12.0.40664, 2013 x64 v12.0.40664, 2015 x86 v14.32.31332, 2015 x64 v14.32.31332

    almost got it to look like above... once i perfect it i will add it into the QT :)

    But might just leave them on separate lines saves loosing more hair over it :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Snippet from QT 123-RC4 showing the VC++ 2010->2015 :)

    Code:
    
    Current .Theme Detected    : Custom.theme
    Current Wallpaper Style    : Stretch image to display resolution.
    MRP DMI Internal Reference : 1/4
    Detected .Net Version{s}   : v1.1.4322, v2.0.50727, v3.0.30729.4926, v3.5.30729.4926, v4.0.30319, v4.8+
    Powershell Version{s}      : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
    PS Execution Policy        : Unrestricted
    PS Scripted Diagnostics    : Unrestricted
    VC++ 2010-2015 Information : {2012 x86 v11.0.61135} {2012 x64 v11.0.61135} {2013 x86 v12.0.40664} {2013 x64 v12.0.40664} {2015 x86 v14.32.31332} {2015 x64 v14.32.31332}
    
    
    Due to the hassle to get the info for below 2010 VC++ runtimes i have decided to only check for 2010 and above.

    I have shown the x86 and x64 VC++ versions because sometimes there can be a difference and that may be a reason for a application to give errors..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #8427 mxman2k, Jul 17, 2022
    Last edited: Jul 17, 2022
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,519
    450
    I hope the old chap survived the extreme heat in england:)
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #8430 mxman2k, Jul 20, 2022
    Last edited: Jul 20, 2022
    (OP)
    Only just been over 40c at times outside and in my home been 85c or bloody hot for England.

    Updated QT 123 to RC6 added a bit more checks for 22h2 (w11) update target section , shows a few more bits - not sure what it means but they can be detected so i shown the results. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Had to take a few days off as the heat made me feel ill, plus with these coils stuck in my head they heat up and cause headaches, but as it cooled a bit this morning i done a bit more coding.

    MRP will be next to get a bit more done as it about finished code wise.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
  13. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
  14. kajoe1

    kajoe1 MDL Novice

    May 9, 2011
    20
    11
    0
    Do you think that it is possible to include the TPM Bypass check in MRP? I know that it is possible to add registry lines in autounattend.xml, but MRP with this included would be nice.
    [OSINF] TPM 2.x Bypass Check : No
    [OSINF] SecureBoot Bypass : No
    [OSINF] Low RAM Bypass Check : No
     
  15. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,769
    7,711
    210
    It has TPMBypass for upgrades already included. You can set it with the MRPConfig Creator.

    For clean install from boot, Windows Setup must be patched. Nothing MRP could do, it only starts later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,519
    450
    Setting the info flag to server on install.xxx does the job too, also nothing mrp can do for.
     
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    To set the registry flags for the TPM etc bypass needs to be done pre-oobe either by a unattend.xml which is run/called by setup.exe before oobe stage starts or via other methods which can be found here on MDL.

    As MRP is run at normal oobe stage sadly that cannot be done, the settings in MRP's config, as mentioned above, to bypass those type of checks are only for when upgrading to w11 from within a running OS such as w10.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,674
    103,519
    450
    And only for certain scenarios like with a TPM1.2 present.
     
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #8440 mxman2k, Jul 23, 2022
    Last edited: Jul 23, 2022
    (OP)
    Will resume work on the projects in next day or two, took some time out.

    There could be another w11 option added but it still in research and development stage.

    Working on a Exam now so all my time taken today.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...