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
    6,324
    21,072
    210
    #4141 mxman2k, Oct 28, 2018
    Last edited: Oct 28, 2018
    (OP)
    if using a setupcomplete.cmd i cannot really help much as it outside the scope of the project as all versions of that script can have different commands within.

    I would advise removing the two lines:

    rd /q /s "%WINDIR%\Setup\Files"
    del /q /f "%0%"

    When using that with MRP as the project will auto clean up the Scripts folder once all completed and a logout/reboot cycle is done.

    It may be one of the exe files you are 'running' from that script?

    The line with
    del /F /Q "%USERPROFILE%\Desktop\*.lnk" >nul

    Would also remove any icons from the desktop so even if you had selected to show the 'This PC' icon it would get removed with that line!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    447
    762
    10
    I understand that it is difficult to adapt MRP to all systems.
    I finally think I do not use C/T Menus and work on an alternative solution to have these shortcuts

    thank you for your work
     
  3. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
    everything is good in the new MRP config creator, i really love its design and how everything is organized very well
    just one thing that's missing it's the option to customize the name of the CMD & powershell context menus, i means both entries (normal & admin)
    and also to include with misc_extrascripts a script for the administrative tools, i think it's the only script which is not included there.
    btw thanks for including all those scripts for cmd powershell control panel context menus and desktop icons,
    and also scripts for removing each, all are very helpful.
    i tried the cmd script it's working and it let's you name the entries as you wish for both normal cmd prompt and admin prompt,
    and everytime you run it you can change the names again xD
     
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    The only reason why you can't edit both CMD/PShell parts in the creator is because there is not enough space in that tab.

    Will have to see how i can squeeze it all in without making the GUI even larger that will make some of the tabs look very sparse in the contents due to the enlarged framework.

    Hopefully there will be a script added for the next release to allow the manual editing of the Administrative Tools. I have one, but at present it don't allow editing via user prompts, as it was a test script and will need a bit of extra work to make it all work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Have managed to squeeze the extra editable options on the tab for the CMD/Pshell part. :)
    TestCreator.JPG
    Maybe a little cramped but functional.

    Have added the code into the next MRP to cover them.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AsaadSoft

    AsaadSoft MDL Addicted

    Jul 29, 2015
    542
    171
    30
  7. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    #4148 Dubioza Kolektiv, Oct 30, 2018
    Last edited: Oct 30, 2018
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Sometimes the boards they use are multi-purpose, there may be another version that has more actual slots on the motherboard, odd for a laptop i know. It may even be a bios issue that 'thinks' it has more than 2 slots.

    Wmic can give some weird results at times, but it is what is reported to the OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,773
    7,713
    210
    Some boards possibly might show banks. Some manufacturers/OEMs interpret the guidelines in a weird way. For DDR, 1 slot = 2 banks, AFAIK.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. MMIKEE

    MMIKEE MDL Senior Member

    Oct 6, 2012
    380
    361
    10
    My ASUS ROG G750JM Laptop has 4 memory slots, 2 are hidden inside the laptop case, and the other 2 are accessible under the normal access panel...
    MRPQT reports the 24 GB installed and 64 GB Max memory properly...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    Code:
    wmic MEMORYCHIP get banklabel, capacity, devicelocator
    shows the individual banks. But to parse the results is a bit more awkward via a for /f loop :( (Once i have worked a way to split the results into the respective banks etc then it will be added to the QT).

    Some Asus laptops may use one of the ROG gaming motherboards and altered so the other ram sockets may not be soldered in and the bios tweaked to ignore the extra ones, but wmic still seems to detect them!

    I have a Novatech branded laptop here that uses a A15 Fireblade motherboard, the only difference is that the board does not have the chips soldered on it for the NVidia grfx GPU and its ram, it has been modified to use the intel HD gfx instead.

    As @Carlos Detweiller mentioned some makers do some weird things, also when re-using other boards etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    #4153 mxman2k, Oct 30, 2018
    Last edited: Oct 31, 2018
    (OP)
    Have managed to get the bank memory size sorted, so now the QT will show (hopefully) the amount in each used slot/bank on the next release.

    *edit* Also now Memory Slots Total/Free

    Had to resort to vbscript because SET /A is limited to 32bit precision and would fail if a value was too much for it to handle.

    My PC's Results:
    Code:
    Memory Total Present       - [16345 MB] {Approx Value} 
    Memory Available           - [13549 MB] {Approx Value}
    Memory Type {3}            - [Non-ECC]
    Memory Max Sockets         - [4]
    Memory Board Max Capacity  - [65536 MB] {Approx Value} - Depends on the motherboard's memory array as 4GB or below could mean per slot.
    Memory Capactity Per Slot  - [16384 MB] {Approx Value}
    MEMORY Capactity Per Bank  - [1:8192Mb 2:8192Mb] {Approx Values}
    Memory Slots Information   - [Total:4] / [Free:2]
    
    *edit* Hopefully the 'Memory Slots Information' line is more accurate, this will not show if a VM is detected due to some really odd results.
    Example: on VMWare, i got Total:64 Free:63 :eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. bundyal

    bundyal MDL Junior Member

    Jun 28, 2014
    91
    90
    0
    mxman2k thank you so far.
    I have a question.
    You have now 12 additions to the administrative tools context menu.

    I want all 12 additions, i must now select them one by one.
    Kan je make a button select all for that additions ?

    Administrative Tools Looks like this on Windows 10 Dutch.
    [​IMG]
     
  14. bundyal

    bundyal MDL Junior Member

    Jun 28, 2014
    91
    90
    0
    mxman2k thank you so far.
    I have a question.
    You have now 12 additions to the administrative tools context menu.

    I want all 12 additions, i must now select them one by one.
    Kan je make a button select all for that additions ?

    Administrative Tools Looks like this on Windows 10 Dutch.
    Menu.png
     
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    I was going to add a [ ] All above box but not sure if i can get the 'switch' to work as intended, ie to put ticks in all the boxes or grey them out... Will see.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. bundyal

    bundyal MDL Junior Member

    Jun 28, 2014
    91
    90
    0
    Ok thank you.
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,548
    450
    Would make creating a test ini (with all boxes checked) much easier ;):D
     
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,072
    210
    it would :p

    Just sorting the QT out at present, i will add a special option for testing with the MRP for next internal test. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...