Multi-OEM/Retail Project {MRP} - Mk3

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

  1. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    Is there a utility/script to convert a WIM file to an ISO? I've been looking for an hour and I cannot fin it.
    Thank Tou
     
  2. ZerOx16x

    ZerOx16x MDL Member

    Oct 28, 2013
    161
    243
    10
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    :D:D

    Hmm interesting :p i check for the .net 4.x.x via reg query, if the result is not defined it should skip the section and then go onto the v1.x, 2.x etc :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    #3605 mxman2k, Sep 10, 2018
    Last edited: Sep 10, 2018
    (OP)
    If my way of thinking is correct with this routine, if the result of the check does not match anything it should ignore setting the N47R variable. :g:
    Code:
    SET "N47R="
    FOR /F "tokens=1-3" %%A IN ('REG QUERY "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full" /v "Release" 2^>nul') DO SET "N47R=%%C"
    
    IF DEFINED N47R SET /A "N4Dec=%N47R%"
    SET "N47R="
    IF "%N4Dec%"=="378389" SET "N47R=4.5 {Rev:378389}"
    IF "%N4Dec%"=="378675" SET "N47R=4.5.1 {Rev:378675}"
    IF "%N4Dec%"=="378758" SET "N47R=4.5.2 {Rev:378758}"
    IF "%N4Dec%"=="379893" SET "N47R=4.5.2 {Rev:379893}"
    IF "%N4Dec%"=="393295" SET "N47R=4.6 {Rev:393295}"
    IF "%N4Dec%"=="393297" SET "N47R=4.6 {Rev:393297}"
    IF "%N4Dec%"=="394254" SET "N47R=4.6.1 {Rev:394254}"
    IF "%N4Dec%"=="394271" SET "N47R=4.6.1 {Rev:394271}"
    IF "%N4Dec%"=="394294" SET "N47R=4.6.1 {Rev:394294}"
    IF "%N4Dec%"=="394802" SET "N47R=4.6.2 {Rev:394802}"
    IF "%N4Dec%"=="394806" SET "N47R=4.6.2 {Rev:394806}"
    IF "%N4Dec%"=="460798" SET "N47R=4.7 {Rev:460798}"
    IF "%N4Dec%"=="460805" SET "N47R=4.7 {Rev:460805}"
    IF "%N4Dec%"=="461308" SET "N47R=4.7.1 {Rev:461308}"
    IF "%N4Dec%"=="461310" SET "N47R=4.7.1 {Rev:461310}"
    IF "%N4Dec%"=="461808" SET "N47R=4.7.2 {Rev:461808}"
    IF "%N4Dec%"=="461814" SET "N47R=4.7.2 {Rev:461814}"
    IF %N4Dec% GTR 461814 SET "N47R=4.7.x {Rev:%N4Dec%}"
    or if the result is greater than 461814 it will set the variable with the result code and i can then work out what 4.x.x is later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,211
    90,794
    340
    %N4Dec% in last line should have quotes "%N4Dec%" in case it's not defined
    Win7 without .NET 4, the command is actually:
    Code:
    if GTR 461814 SET "N47R=4.7.x {Rev:}"
     
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    odd how it has detected RS4+ :g: but that not matter at the moment as it is Windows 7 so anything for a OS above 7 would be ignored within the QT anyway.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    funny thing is i had quotes around the vars for that line, but sometimes it not like them and throws a spanner. I will re add them and pm you a test qt if that ok.

    I even tried [ ] around them - there is some really weird syntax's in command at times :D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,211
    90,794
    340
    Maybe precede it with:
    Code:
    IF DEFINED N4Dec (IF %N4Dec% GTR 461814 SET "N47R=4.7.x {Rev:%N4Dec%}")
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Have tweaked the QT code for .net 4.x.x :) it now should detect the versions better.

    Uploaded, 2nd post download link, password and hashes updated. Same version number 71.0 as no other changes made.

    I have to go out for a few hours - but i am sure it has been sorted, thanks @abbodi1406 for your help. :)

    If it still being a pain i will take another look when i get home. have tested it with wildly different numbers and it didn't crash :D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. l30

    l30 GFX Wizard

    Apr 14, 2014
    465
    572
    10
    Hey i am back, finally..!!! :cheers: please tell me you have included my work into the project, i was thinking to remake others aswell in vector
     
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    @l30 , they have been added. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Working on MRP code, i have decided to activate the routine to auto disable the 'Turn Off All Background Apps' on all RS5 and beyond builds, if m$ fix the problems with the Start Menu, Action Centre not working when this option is used either by the MRP setting or via manually setting the slider to 'Off' in PC/Windows Settings App i will deactivate this part on the next MRP release once it has been 'fixed' until then it will be auto disabled for the RS5+ branches.

    I will update the Creator to show a pop up message that on RS5+ builds it will be auto disabled within MRP if a build in the range is detected.

    I thought about leaving it up to the end user to decide but i think this is a safer way for the time being as who knows if m$ will ever get that xml stuff sorted, it is so fussy and can stop working even with their own updates!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    If the QT can't detect any .net 4.x[.x] it will skip that section to prevent those errors. :)

    MRP 99.0 RC6 is being install tested on a RS5 insider build as i type, to check the Turn off All Background Apps is auto disabled. It worked on a test script but as always during the oobe stage things can work in a different way.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    hmm i think my RS5 insider build is a bit buggy - it crashed out at the end of the user oobe stage the bit that is the last thing you click on about adverts grr.

    It's recovering itself but not sure if it remembered my options or even ran MRP fully... :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    after a couple of restarts and re-entering the oobe stuff, it finally got to desktop :) theme all in place and the option i was checking has been auto turned off.

    Snippet of project.log
    Code:
    [SUOEA] ===================[ MRP Disabled Options ]===================
    [MTTBT] Extra TaskBar Transparency option could not be used due to the OS's Acrylic 'feature'. 
    [NOBGA] Turn Off All Background Apps - Due to known problems with the Start Menu/Action Centre not working properly, 
    [NOBGA] this MRP option has been auto disabled on build 17746 until Microsoft has fixed the XML menus side. 
    [SUOEA] ===================[ End of Options List ]==================== 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,545
    450