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
    3,321
    8,548
    120
    'ThisPC' is possibly in another area, will have to 'sniff' the entire registry for changes when adjusting that particular view...

    Will also have to do the value checks for all OS's -- hmm this may take a while when i can get time :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,201
    1,357
    150
    Take your time, shoudnt be prio :D
    I changed to detailed view and ran the script again, it reverted back to normal for some reason but not the ithers
     
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    If the 'ThisPC' view revert back to default then it may be the way the script has to delete the registry section blocks first before creating the changes...

    I will see which ShellBags bit is for the 'This PC' section and re-add the 'details' view bits in so all windows look the the same view...

    Even if that is the only one that is 'special' in that it always resets to 'Icon' view (i think that the default) then it not a major hurdle.

    Just happy to see that it works ok for the majority of the explorer views and not cause some weird effects.

    I will see if it can be made better, before i add it into the next MRP's new option list for now, as i can, once 'perfected' it then make a multi-choice one for Icon, Large/small Icons, Details, Content, etc but that will be a while yet, need to make sure it will work in 7 to w10 (all builds). Only tested on w10, although it should work on 7 and 8.1 - will have a play when time permits as i know some Vid/GUID's are different for each OS and some are re-used as something else, probably why the bypassed section of the script causes that color confusion on 1803/1809+ with dark mode set.

    Thanks for testing. :)

    It has certainly changed from my personal tweak as i only had the General template changed for my needs, the new script allows changes for the Libraries and other windows too, i did say it could get a bit complicated, but i like a challenge. :D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,201
    1,357
    150
    #6406 tcntad, Oct 16, 2020
    Last edited: Oct 16, 2020
    Ok So I ran the script again, this time it did not reset This PC to default. I'll deploy W10 again tho
    Edit: As deployin over LAN it doesnt appear to change This PC even if I modify script or not.. I'll move stuff around in deployment to see if it helps
     
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,201
    1,357
    150
    Quick question. I can see in the MRP_Project log: "The Model name was not defined within BIOS or User specified."
    Can we make MRP use "CS Base Product" in Motherboard Information section and apply that as model?
     
  6. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    255
    224
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    31,529
    49,671
    450
    All (iirc) 1803 + consumer (pro and higher) & business SKUs are enterprise based.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    I see from your log that your SetupComplete.cmd had a RD <scripts> line or a shutdown /r as the rest of MRP was aborted because it was deleted automatically via one of those commands.

    Majority of the MRP options would of been set, only those in the '===[ Enabled Options ]===' part would not of, as those are actioned upon the first reboot just before the user name entry etc oobe stage or in MRP terms the Addon Manager stage.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    Regarding the Model Name, that part has not changed sine i took over i think, it is checked in two places, one in the BIOS itself - if the OEM Manufacturer has added that, or via a section in the registry that gets its info from the DMI area. If those are not defined or a user entered one then that Model part is left undefined.

    I did toy with the idea for checking the CS Product area but as that can be 'To Be Set By OEM...' or 'Default String' or some weird characters i decided to leave it as it is and add the User entered one. To tweak it again would be a bit of extra coding, i could have a 'special' trigger word that would tell MRP to use the CS Product info...

    The trigger word could be '#CSP#' which i doubt any OEM maker would use there?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    255
    224
    10
    i have used many scripts & Unattended software setups via setupcomplete.cmd inside your $OEM$ directory & created $1 $2 directories for installation of Unattended software setups . Installation rebooted many times i think almost 8+ times but in last installed OS . Time Taken to install is more then 20 minutes but if i dont use any $OEM$ it will install within 5-6 minutes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    Anything added into the $OEM$ be it the MRP or any Office package, other software, drivers etc will take extra time.

    M$ have made a few undocumented changes to the $OEM$ system and i think they are making the things we took for granted since XP days slowly harder, as with insider builds, the OEM branding may not always take on the first run, (Core/Home for instance), so a 2nd reboot is required. Like with windows 8.1 with the thinner boarders option that needs 2 reboots to take.

    MRP has a lot of error checking to make sure it functions as best as possible even if it has crashed, so that it will clean up the OS of any ruminants of the project etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    At work and on my phone so spelling may not be perfect as i had to turn off that predictive text crap and writing long messages is a pain in the proverbial!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    255
    224
    10
    I think thoose Unattended Silent setups have made machine rebooted that many times or else you are absolutely correct it reboots 2 times to complete installation pre & post OOBE.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    Just realized i have been working on MRP for four years -- as in yesterday 16th October [2016] (GMT) !! :eek:

    Sorry no fanfare or 'special' release this time :D :D

    The project has come a long way since that time. i still have the original data zip i got from @The_Guardian, never thought i would still be working on the code base 4 yrs on!

    Many thanks to all that have contributed, be it reports, suggestions, beta testing, OEM branding, or just using the project, without you all i probably would of gave up long before now, even a serious illness did not stop me, that has slowed me down a lot, but i do read the reports, suggestions etc as it helps me pinpoint areas that could do with a nip and tuck to tweak things.

    As @Enthousiast can agree with me , i have made quite a few 'screw' ups along the way and it has at times took me ages to work out a fix before the baseline release... :D

    :cheers:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    31,529
    49,671
    450
    Indeed you did ;):p:D :flag:

    :happybday: to MRP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    255
    224
    10
    do i have the rights to decompile your decompile.exe .
    i want to see the contents plus coding structure .
    i promise for my personal use not any professional cause.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    3,321
    8,548
    120
    #6419 mxman2k, Oct 17, 2020
    Last edited: Oct 17, 2020
    (OP)
    There is nothing special inside, its only compiled for ease of distribution these days.

    The code is a mess as it is a mix of the original code base, additions and changes ive made over time.

    Alrhough i have moved some into modules, as in seperate scripts to make it easy for me to work on.

    As long as it for personal use and not to clone the project, i have no problems. Not that anyone would want to clone my own crappy code structure :D

    I will warn you the install and addon manager scripts are VERY sensitive to changes, make a small change and it can cause you many hours of pain fixing things!! It can still catch me out and i have to revert from a backup version.

    To avoid cluttering up the thread you can pm me and we can discuss there.

    As im at work until tomorrow morning i cant do much as my breaks are short.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mdl052020

    mdl052020 MDL Senior Member

    May 31, 2020
    255
    224
    10
    #6420 mdl052020, Oct 17, 2020
    Last edited: Oct 17, 2020
    thanks a lot . i confirm my previous installation mrp log that the scripts called by setupcomplete have a forced reboot cammand shutdown /r /f /t 00 at end . i just copy pasted those scripts but havent checked there code . your MRP project is great . thanks a lot .

    Gor So Many Files inside Decompile 2 are from alphawaves n one is setaclx86.exe other ones are disk layout catch n cmd scripts too .
    Whole inside attributed attrib + s +h MRP3 directory. if i am right .

    I thought its a script code only but its a attributed directory inside . sorry i left it as it is n wont take any risk as you told me sometimes playing with its code you also have to revert back from backup .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...