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,679
    103,532
    450
  2. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    An update from previous post
    Something has definitly changed but what. I'll keep trying myself.
    I'd love to keep using MRP and the way I install OS the same way as "always"

    Edit: It doesnt work an original untouched wim either
    Edit2: Works with untouched ISO, putting the $OEM$ folder in sources]
    Edit 3: As long as OEM's.7zip isnt in the scripts folder, it works fine.
    I cannot use a customtheme option
     
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    Weird as the oem's.7z is required if you are using branding/customtheme option...

    A log report would hopefully shine some light on the problem as there are tests done on the oem's, (if present), to make sure the structure is correct and no corruptions.

    I am suspecting that something is upsetting the 'extract-to' pointer... :g:

    Possibly it is being pointed to the wrong drive letter? -- Or the dreaded space in a path which can give some really odd results, although i have done my best to eliminate those type of problems.

    Have now tweaked the extraction routine slightly which hopefully will fix that to always make sure it is the system drive that the OS is being installed onto, as it may not always be C: , have done a install with the test 109.1.IT1 MRP and it does all work as usual.

    I needed to do a test anyway as added a new 'SSD Tweaks' option which i wanted to make sure was working - which it does, (plus it can be reverted later if required). :) More details later as it still being tested thoroughly before being added mainstream.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    I'll get back to you as soon as I can with a log/debug.
    Of course I vad oems.7z copied when applying customtheme.
     
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    I never thougt about it but MDT makes 3 partitions, boot, recovery and Windows. I changed it to have one drive/partition.
    This did not work. THis time I only kept decompile.exe and OOBE.cmd
     
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    As i have never used MDT i am unaware of how it creates or does stuff etc.

    From what you mentioned it seems it possibly moves the OS drive letter about at some stage.

    This would present a problem, but with the little change in the extraction routine i done today, it now should be whatever the actual OS's drive letter is, so if it moved it to say x: then MRP should use x: as the 'system drive' letter.

    As the majority of the project works ok it seems that it is in a tiny area of code where the oem's are extracted and then used during the processing to insert the brand theme.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    So Server 2019 all went ok with branding - the log shows nothing amiss. :g:

    The above log will show that OEM's.7z is missing and MRP will just use the default windows theme.

    When you put the OEM's.7z file with decompile etc i gather everything else works but no branding, the log should indicate that either there is a structure fault or the file is not present (which also means the 7z was not extracted in the right place or not at all) - sadly to check for each error would take ages to process so i just check if the 7z was present, or nothing was extracted correctly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Yes if I remember correctly it was deployed the same but I can do another test when I come home. They have the same number/version right?
    I understand this is a hassle, I bet there's some changes in how OEM partners do it too between the versions.

    How does Install.cmd work?
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    yes all versions same.

    Only this new test 109.1.it1 is slightly different in the extraction routine for the OEM's part.

    Install.cmd is complicated to fully explain, but basically it does a lot of checks what OS, Edition is installed, checks options used (if any), sets all the options during the processing. DMI is processed to see what brand is to be used (or if customtheme set to a valid brand) and then copies over the required theme files to windows\system32\oobe\info folder etc.

    The project is far more advanced than what was before, quite a lot is error checking and adapting 'on the fly' to compensate such as if a DMI conflict arises to then check something else to see which to use, its not perfect but it does a good job so far in working out which brand to use and failing that either the SLIC (or MSDM) brand name is used then if those all fail to just use the default windows theme for the OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Once again, Its a remarkable project, it has grown alot since previous developer. not to forget them at all but remember.
     
  12. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    Have updated the oem's detection routine...

    Now you will see one of the following lines in the Project.log:

    The extracted OEM's folder structure appears correct. ==> As it says.

    The OEM's archive was not detected. Windows default theme will be used. ==> This is if the oem's.7z archive file is missing from the 'Scripts' folder, or not used.

    The extracted OEM's folder was not detected. Windows default theme will be used. ==> Something went wrong in extraction, could be a drive letter change during deployment or other failure.

    The OEM's.7z file or extracted OEM's folder was not detected. Windows default theme will be used. ==> either is missing in action!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Cant express my joy enough for this project!
     
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    @mxman2k: check our old convo, i added aditions for pkconfig database (Server/Enterprise LTSC 2019)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    :D adding thanks :hug2:

    odd no 2016 Server MSDM ones :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Who cares :D. OEM_SLP is important as it can be used with the Loader ;).

    Interesting is OEM_DM for EnterpriseS 17763.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,323
    21,065
    210
    :D true
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150