Multi-OEM/Retail Project {MRP} - Mk3

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

  1. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

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

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    Having a play about with a Context Menu Editor for the System Tools menu to allow the end user to adjust the menu text for their own language....

    This is only a demo but it gives an idea how it may turn out - it still work in progress...

    Using the Creator to do the editing would cause problems with unicode for the ini file so i gave up on that idea.

    To get around that, it looks like it will have to be a 'exe' program that will do the registry edit 'on the fly' or when you click the OK button.

    demo-CTEditor.JPG
    Have just tested a few languages (i hope they translated ok!)

    The way it works is simple, you enter the new wording (in your own language) into the white box press enter, tab or click the next box and the wording will change on the right side to your new wording. Clear the box it will revert back to the original English spelling.

    Once you are happy with your changes, click the OK button and it will change the registry entries for the menu items to your language. You will then need to sign out/log off (or restart the Explorer.exe via Task Manager) to see the changes.

    At the moment the program does very little and not insert anything into the registry. In fact it's only in the editor stage and not compiled yet as not written the other parts, i have only done the first three boxes to see how the text looks.

    In theory it will work, in reality if i get the coding right it will too. :p

    I was going to have drop down options with the preset wording, but to cover all languages would be a total nitemare and so to make that part easier you can enter (in your own language) what you want to name them.

    This is ongoing and may take a while to perfect so don't expect it for the next release or two.

    Other News:
    The MRPCreator v6.0 has now the extra 'System Tools' options added and tested OK with the Internal Test #2 MRP.
    CreatorV6.JPG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    #4064 mxman2k, Oct 15, 2018
    Last edited: Oct 15, 2018
    (OP)
    This is something i am working on as well... The code is in place and it creates the correct unicode ini file....
    Demo-Future-Creator.JPG

    Have put debug code into MRP to test if the project can utilize the ini in this form when parsing the commands within and not causing strange characters to be shown instead...

    Will be doing a test install tomorrow sometime and see if this is a better way, if not then it will be the other method outside of MRP...

    If this method works and you manually edit the ini file you MUST save it as unicode encoding ONLY and nothing else or you will loose the character set!

    As you can see below the ini file shows the right encoding.
    Code:
    [CODE]
    
    :CMSMT=ادوات النظام
    :CMASP=Propriétés système avancées
    :CMPAN=控制面板
    :CMDEVM=Administrador de dispositivos
    :CMEV=Просмотрщик событий
    :CMRED=Editor registru
    :CMPRGT=Program och funktioner
    
    # End of MRP Config
    [/CODE]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    [ATHBA] VBox OEM brand theme has been applied.

    I am guessing you changed the desktop wallpaper after as it not the Vbox one. :)

    Also what is interesting is that the WMIC call for 'PC System Type' picked up that the host computer was a 'mobile' (Laptop) device even within a VM.

    [OSINF] PC System Type : Mobile {0x2}
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    yeah i never liked the vbox theme, the first thing i do after log in is changing it, i have lot of themes integrated inside install wim
    also the background while loggin in to windows is terrible i always change those two reg entries to 0 to get back the defaut one

    lol maybe becuz it's a laptop, so it's considered mobile xD
    what should it be then ?
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    its what M$ give the naming so i just went with what they call things.

    They do have some weird naming such as:

    Pizza Box
    Lunch Box
    Sealed-Case PC
    Maximum

    to name a few!

    Mobile i guess is to cover laptops, tablets, phones etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    11.jpg 22.jpg

    44.jpg

    66.jpg

    Code:
    Multi-OEM/Retail Project Version : 181008-R101.0.BL - BaseLine [MRP via MDL Forum ONLY]
     
    DeCompile has detected a VirtualBox Virtual Machine.
     
    OEM's folder detected, structure appears OK.
     
    .Net Versions Detected        - v1.1.4322, v2.0.50727
    Powershell Versions Detected  - None
    Detected Config File          - Checking For User Options.
    Config Creator Version Used   - 5.9 {Advanced Mode}
                                  - Options Pre-Check Completed.
     
    MRP Debug Logging Mode        : Disabled
    Show 'My Computer' On Desktop : Enabled
     
    OS Installation Date/Time     : 10/15/2018 {UTC} -- 11:43am
     
    [OSINF] =======================
    [OSINF] Detected OS Information
    [OSINF] =======================
    [OSINF] PC System Type        : Mobile {0x2}
    [OSINF] Domain Detected       : No
    [OSINF] Version {Registry}    : Windows Vista {TM} Ultimate - Service Pack 2
    [OSINF] Version {SKU}         : Ultimate {1}
    [OSINF] Edition {Registry}    : Ultimate {1}
    [OSINF] Architecture          : 32 Bit {AR:5}
    [OSINF] Build Information     : 6002.18005.x86fre.lh_sp2rtm.090410-1830
    [OSINF] Locale                : en-US
    [OSINF] Language Name Value   : ENU
    [OSINF] ======================= 
     
    [MBINF] =======================
    [MBINF] Motherboard Information
    [MBINF] =======================
    [MBINF] #01 CS Product Name   : [VirtualBox]
    [MBINF] #02 CS Model Name     : [VirtualBox]
    [MBINF] #03 Baseboard Product : [VirtualBox]
    [MBINF] #04 CS Vendor Name    : [innotek GmbH]
    [MBINF] #05 CS System Name    : [innotek GmbH]
    [MBINF] #06 Baseboard Name    : [Oracle Corporation]
    [MBINF] #08 BIOS or SLIC ID 1 : [VBOX   - 1]
    [MBINF] #09 SLIC Information  : [No Valid SLIC Table Present]
    [MBINF] #11 MSDM Information  : [No MSDM Table Present]
    [MBINF] Chassis Type {01}     : [Other]
    [MBINF] BIOS Manufacturer     : [innotek GmbH]
    [MBINF] BIOS Version          : [VirtualBox]
    [MBINF] BIOS Creation Date    : [12/01/2006]
    [MBINF] =======================
     
    [CMINF] =======================
    [CMINF] CPU/Memory  Information
    [CMINF] =======================
    [CMINF] CPU Full Name         : [Intel{R} Core{TM} i5-3230M CPU @ 2.60GHz]
    [CMINF] CPU Description       : [x86 Family 6 Model 58 Stepping 9]
    [CMINF] CPU Architecture      : [32 Bit {Only}]
    [CMINF] CPU ID Code           : [Unable to define CPU ID Code]
    [CMINF] CPU Revision Number   : [3a09]
    [CMINF] CPU Sockets Present   : [1]
    [CMINF] CPU Cores/Threads     : [2] / [2]
    [CMINF] Memory Total Physical : [2046 MB]
    [CMINF] Memory Available      : [1798 MB]
    [CMINF] =======================
     
    [SUOEA] === Show other User Options applied , enabled or disabled ===
    [SUOEA] =====================[ Applied Options ]=====================
    [DMSRT] Disable Malicious Software Removal Tool {MSRT}. 
    [NOWUR] Disable Automatic WU Restart After Updates. 
    [CMECM] Command Prompt Context Menus. 
    [UFODT] Show User's Folder icon on the Desktop. 
    [CPODT] Show Control Panel icon on the Desktop. 
    [DIMSD] Disable UAC's Secure Desktop Dimming. Note - Does not disable UAC. 
    [NOIDX] Disable Windows File Search Indexing Services. 
    [CPANV] Set Control Panel's view to Category {Default}. 
    [SACCM] === Show user selected 'My Computer' 'Tools' Context Menu Options === 
    [CPLCM] Control Panel. 
    [DEVCM] Device Manager. 
    [MSCCM] MSConfig. 
    [PRFCM] Programs and Features. 
    [REGCM] RegEdit. 
    [SVSCM] Services. 
    [WUDCM] Windows Update. 
    [TPMCM] === End of 'My Computer' selected Context Menu Options ==== 
    [SUOEA] =====================[ Enabled Options ]=====================
    [REMSC] Remove '-Shortcut' references from icons. 
    [HLNPS] Disable the Hi-Liting of new programs on the Start Menu. 
    [SUOEA] ===================[ MRP Disabled Options ]===================
    [SUOEA] No MRP disabled options.
    [SUOEA] ===================[ End of Options List ]====================
    [REPDR] === Retail.txt/ei.cfg/PID.txt Detection Routines ===
    [REPDR] Note: Some results may return as 'not detected' if the install medium was removed during installation.
    [REPDR] The Retail.txt file was not detected.
    [REPDR] The ei.cfg file was not detected.
    [REPDR] The PID.txt file was not detected.
    [CKDMI] === Querying DMI for any OEM manufacturer brand information ===
    [CKDCF] Detected possible DMI conflicts.
    [CKDCF] Possible [VirtualBox] conflict, re-checked DMI [#01] resolved as [VBox]. 
    [CKDCF] DMI query routine completed.
    [NOSLC] No valid SLIC was found for OEM activation.
    [THMOK] VBox [#01] manufacturer was detected for automated theme/branding.
    [NOKCA] Note: OEM SLP Key/Certificate routines will not be processed. Reason: No valid SLIC Table Detected.
    [SYSPD] === Model Name Processing Routine ===
    [CHKMN] Model name not defined within the BIOS or was user specified.
    [TBPRT] === Theme Processing Routines ===
    [USRFT] User specified theme was not defined.
    [TBTMS] === Brand Transfer Management Routine ===
    [RMXML] OOBE.xml file has been processed.
    [WPCHK] Wallpaper.jpg transferred.
    [BGDFC] Desktop backgrounds folder created.
    [BGDFC] BackgroundDefault.jpg created from Wallpaper.jpg.
    [V08CI] Copied BackgroundDefault.jpg as img24.jpg.
    [V08IA] Background picture {img24.jpg} applied to .DLL file.
    [UBREP] Main User Account Picture {User.bmp} replaced.
    [OTFTR] === Brand/Theme Files Transfer Routine ===
    [OTFTR] Brand theme folder has been created.
    [OTFTR] Theme files have been transferred.
    [ATHBA] VBox OEM brand theme has been applied. 
    [BSHCS] === Script Completion ===
    [BSHCS] Branding script has completed.
     
    [ADMAN] Add-On Manager: Started.
    [SATOU] === Show User options that have now been applied ===
    [REMSC] Remove '-Shortcut' reference on icons. 
    [HLNPS] Disable the Hi-Liting of new programs on the Start Menu. 
    [SATOU] ===============[ End of Applied Options List ]===============
    [CMSDM] MSDM Key, {if detected}, will not be processed as not required for this OS.
    [AMBPS] === Checking BIOS/Boot mode, OS Partition type and Controller mode ===
    [AMBPS] BIOS/Boot Mode  : {W} UEFI
    [AMBPS] Partition Type  : {W} MBR
    [AMHDC] Controller Mode : {S} SCSI/PCIe
    [CHKLS] === Detecting Activation Status/License Channel ===
    [CHKLS] License Status: Out-of-Box Grace Allowance {Retail} 
    [OSLRC] License Status Reason Code: 0x4004F00C
    [OSLRT] This computer is in 'Out-Of-Box' Grace allowance.
    [CHKLS] System reboot maybe required to complete activation.
    [ADMAN] === Finalization Routines ===
    [CLNUP] Clean Up Routine Processed.
    [ADMAN] Add-On Manager: Completed.
     
    =========================================================================================
    =                                                                                       =
    = Please Note: As User options, UserTweaks or Wintel scripts have been detected then    =
    =              it is required for a reboot cycle to allow these options to take full    =
    =              effect.                                                                  =
    =                                                                                       =
    =========================================================================================
     
    The Multi-OEM/Retail Project has completed.
    
    
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,549
    450
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    I not support Vista so i not do many checks for that defunct OS now.

    The only reason it is not blocked from MRP use is for Server 2008 which i think is still in use/updated?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    #4072 mxman2k, Oct 15, 2018
    Last edited: Oct 15, 2018
    (OP)
    Will block those options for Vista/Server 2008 on the next MRP. :)

    edit: Done.
    Command/Powershell Prompts and System Tools Context Menu is now denied on Vista/Server2008 kernels.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    lol, since they are just some reg tweaks i thought they would work just like in windows 7
     
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    #4074 mxman2k, Oct 15, 2018
    Last edited: Oct 15, 2018
    (OP)
    I would of thought that also, but it seems Vista has some strange Context Menu things and not worth the time and effort to get them to work on 6.0 Kernels.

    I had not tested those on Vista so thanks for letting me know. :)

    Even Windows 8.x has some strange ones too, hence why the Windows Update one can't be used, it usually would work on En-US/GB editions but fails on other languages so i just turned that option off.

    When Server 2008 is no longer supported by M$ i will block Vista/2008 from MRP use as it is already in place to do that, but just ignored for the time being.

    Try using the MRP on XP or below, you will see the message that it is not supported. :p

    Or for legacy purposes still allow MRP to brand etc, but it will not have anything new added.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    seems that microsoft loves to mess things up from while to while between version to version developpement
    but at least oem themes got applied, also desktop shortcuts added, search and superfetch services got disabled, that's good
    i hope xp could get oem themes too, branding is far enough for it
     
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    The oem branding side of things has actually been changed 'slightly' too, but i have compensated for that.

    Most tweaks will work on all supported OS's those that may cause known problems are auto disabled and a note in the log why.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    As for XP i think it can be possible but not via the MRP. I remember messing about years ago with modified themes for the older OS's. I may even have the scripts somewhere on a backup disk. :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,773
    7,717
    210
    Server 2008 dies with Windows 7/Server 2008 R2. Why would you block one and not the other, then?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,326
    21,072
    210
    I added that ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    didn't work for xp
    i placed the $oem$ folder in the root of the iso, beside i386 and other folders

    VirtualBox_xp_15_10_2018_14_41_01.jpg