Multi-OEM/Retail Project {MRP} - Mk3

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

  1. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    505
    163
    30
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    Just realised today 15th October 2016 i started this MRP mk3 thread! :eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,358
    7,077
    210
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    #4084 mxman2k, Oct 16, 2018
    Last edited: Oct 16, 2018
    (OP)
    Have some news!

    The Context Menu editor for the System Tools seems to be working properly, the creator saves the unicode ini file properly, had a few problems with unicode decoding within MRP but fingers crossed that has been sorted.

    How the context menu can look - have used various languages for testing (used Google translate so they might not be grammatically correct!).
    PC-ContextMenu.jpg

    Not all are converted as it takes a lot of time to create the code to make the magic happen but for now this is how it is looking.

    By default they will be in English if you not touch the C/T Menu tab and alter anything.

    MSConfig may stay in English as you have to type that anyway to use that command, same with Services.

    Windows Settings and Windows Update, for now they will be English until i get more time to add those editable options.

    If you edit the Drive Label and Model Name options to other than English the Creator will save those new wordings but MRP will not decode them so they will look weird. That will take a lot more coding which really i not have the time to do.

    You can use the new script that will be provided in the Optional folder to change the Model Name, it may look odd in the script but when you change the name it will be correct. Its how command window output is sadly.

    Drive label can be changed manually via the normal method of right clicking the drive and using rename.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    505
    163
    30
    plz change that icon :D
    or why not make the option to choose the desiered icon by user also :p
     
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    #4086 mxman2k, Oct 16, 2018
    Last edited: Oct 16, 2018
    (OP)
    On windows 7 :
    imageres_dll-104.jpg Imageres - 104

    imageres_dll-105.jpg imageres - 105

    On windows 10: (zoomed in 2x to be visible).
    w10-imageres_104.jpg imageres - 104 (no others look like the 105 above) - use a icon viewer on imageres.dll and you will see yourself!

    w10-shell32_16778.jpg shell32 -16778 (closest one could find).

    As you can see every os has a different set and why it is not as easy to get it to work on all systems as the icon numbering is not the same.

    *edit* External Icon which is very similar now added. ignore the white background as had to enlarge it be visible to post. It will be the same on all OS's.
    TmenuIconJPG.JPG

    Why get all flustered over a icon?, it not like it is a desktop picture you look at all the time, also i am puzzled how that looks anything remotely like a tools icon. :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    505
    163
    30
    #4087 AsaadSoft, Oct 17, 2018
    Last edited: Oct 17, 2018
    at least the icon looks accurate to the system
    can you attach an extra script for removing the context menu (all items or one script for each item)
    same for other cmd, powershell and other context menus
    i mean beside those extra_scripts in the project
    because sometimes one can mess things up editing the registry as many different hkeys related
    like this one but those are eg entries

    Code:
    Windows Registry Editor Version 5.00
    
    ;Created by Vishal Gupta for AskVG.com
    
    [-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\SystemTools]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\control]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\cleanmgr]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\devmgr]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\servcs]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\regedit]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\secctr]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\msconfig]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\taskmgr]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\taskschd]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\wu]
    
    
     
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    As for scripts for removing the context menus etc, wouldn't it be more efficient to not choose the options in the first place?

    After all they are options choose: none, one, a few etc. Each one has a tool-tip to explain what it does.

    Code:
    Windows Registry Editor Version 5.00
    
    ; Remove SystemTools Context Menu
    [-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\SystemTools]
    
    ; Advanced System Properties
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\AdvSysPrp]
    
    ; Device Manager
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\DevMan]
    
    ; Regedit
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\RegEd]
    
    ; MS Config
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MSCfg]
    
    ; PC/Windows Settings
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PCSet]
    
    ; Programs and Features
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ProgFeat]
    
    ; Services
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Servcs]
    
    ; Control Panel
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\ContPanl]
    
    ; Windows Update
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WUDT]
    
    ; Event Viewer
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\EventV]
    
    ; Security Center
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SecCtr]
    
    ; Task Scheduler
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\TaskSchd]
    
    
    Code:
    Windows Registry Editor Version 5.00
    
    ; Remove Control Panel Desktop Context Menu Entry.
    [-HKEY_CLASSES_ROOT\DesktopBackground\Shell\ControlPanel]
    
    
    Code:
    Windows Registry Editor Version 5.00
    
    ; Remove Command Prompts.
    [-HKEY_CLASSES_ROOT\Directory\shell\MenuCmd]
    [-HKEY_CLASSES_ROOT\Directory\background\shell\MenuCmd]
    [-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\MenuCmd]
    [-HKEY_CLASSES_ROOT\Drive\shell\MenuCmd]
    [-HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd]
    
    
    Code:
    Windows Registry Editor Version 5.00
    
    ; Remove PowerShell Prompts.
    [-HKEY_CLASSES_ROOT\Directory\shell\MenuPowerShell]
    [-HKEY_CLASSES_ROOT\Directory\background\shell\MenuPowerShell]
    [-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\MenuPowerShell]
    [-HKEY_CLASSES_ROOT\Drive\shell\MenuPowerShell]
    [-HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell]
    
    
    Code:
    Windows Registry Editor Version 5.00
    
    ; Remove CopyTo/MoveTo Context Menus
    [-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB630-2971-11D1-A18C-00C04FD75D13}]
    [-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB631-2971-11D1-A18C-00C04FD75D13}]
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    Have got the 'Windows Settings' and 'Windows Update' System Tools context menu in the Creator's menu editor now.

    PCContextMenu.jpg

    MRP 102 is now out of internal testing and onto RC1. :)

    After sorting that part out, time to continue with the main code itself.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,488
    1,506
    150
    I like how its multilanguage in same menu:)
     
  11. BALTAGY

    BALTAGY MDL Guide Dog

    Dec 23, 2014
    349
    614
    10
    How to turn on the search index again? just turn on the windows search service right ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    its only multilingual as i entered the wording (google translated). The user can edit them to their own language. Only MSConfig and Services are in English.

    Search Index ON :
    Code:
    sc config WSearch start= auto >NUL 2>&1
    sc start WSearch >NUL 2>&1
    sc config SysMain start= auto >NUL 2>&1
    sc start SysMain >NUL 2>&1
    
    Reg add "HKLM\SYSTEM\CurrentControlSet\Services\Wsearch" /v "Start" /t REG_DWORD /d "2" /f >NUL 2>&1
    Reg add "HKLM\SYSTEM\ControlSet001\Services\Wsearch" /v "Start" /t REG_DWORD /d "2" /f >NUL 2>&1
    REG add "HKLM\SYSTEM\CurrentControlSet\services\SysMain" /v "Start" /t REG_DWORD /d "2" /f >NUL 2>&1
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    867
    1,463
    30
  15. l30

    l30 GFX Wizard

    Apr 14, 2014
    465
    572
    10
    What do you need for adding the icon for tools, let me know and i will create one icon for you
     
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    its ok icons sorted for the time being :)

    Although i was going to make a new one for the Decompile.exe (it has a few inside for different icon view sizes), also one for the Query Tool. They not on the priority list at the moment.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,797
    19,379
    180
    MRP 102 at RC3 stage. :)

    Have updated the Creator v6 and MRP code so that you can also change the Command and PowerShell prompts.

    The Elevated one is separated.

    Default English :

    Command > Command >> Command Elevated
    PowerShell > PowerShell >> Powershell Elevated

    You can edit the Command & Powershell words as you wish and the Elevated as a separate item, so you could have for example:

    Command Prompt as the main wording, and Administrator as the 2nd.

    which would make:
    Command Prompt >Command Prompt >> Command Prompt Administrator

    Hard to explain in words , you will see on the editor part. :)

    Install test worked as intended. Hopefully not long now til it will become a BC (Baseline Candidate) then once happy with that, baseline.

    Hopefully the picture below, (click to enlarge), shows how it works...
    Creator6-Changes.JPG
    There will be scripts for manual changes to the Command/Powershell lines if you require. Will need a bit of editing but have commented the SET variables to edit to your language.

    The only context menus that are still in English are the Control Panel submenus. I will get around to those another time as this little lot alone has taken about 5 days now to get to work and fed up editing. :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    Hi mxman2k, thanks a lot for update this very good tool brother :) you don't stop never (still well) :good3:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...