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,674
    103,513
    450
    Please run your test too, the first was under winre environment the second was with strelec win 10 PE.
     
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Will do, i got a win7pe and im sure i got a win 10 one somewhere in the mass of usb sticks :D

    I think i have one that i integrated .net v3.5 in too.
     
    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,768
    7,711
    210
    win7_0.png win7_1.png win7_2.png win7_3.png win7_4.png win7_5.png win7_6.png win7_7.png

    Font is being a little wide.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Thats tomorrow morning sorted, time now to log out. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Its native font on w7 at 12points, not sure which font best on 7 to use. Will find a suitable one as i think default is consoles?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    I try to use a monospaced type font so it kept tidy.

    I can fix that tomorrow with a hopefully decent font.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,711
    210
    That's not Consolas (although it is available on Win7). It looks more like a system Monospace font.

    Default for Win7 shell is Segoe UI, I think.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,711
    210
    Yep, the font is generally fine, just a little too wide for the text on the Network page. Anyway, take your time, good night.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Forgot about font as it done for 8 and above. I nicked that code from the gui reader i wrote for the old qt :D

    Night all :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    Sorted font for win7 will use consolas or tahoma (whatever it called) depends if which available and then os default if neither available.

    Added the extra language detection such as en-GB en_US fr_FR etc much like the old QT did - took a bit of working out but managed it after several mistakes. :D:D

    For win 7 trying yet another method to get the video card name, vram (may not work over 4gb vram as usual) etc. Found a ps method but converting to autoit code is a pain.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    #8791 mxman2k, Oct 15, 2022
    Last edited: Oct 16, 2022
    (OP)
    The API sometimes not show the VRam amount on Windows 7, it does on most devices, not sure why it not showing for all :g:

    Have checked for fonts to use on win7 and the gui will pick which one is available, or use the OS default one if nothing can be used.

    Added the extra Language detection routine in.

    Added DIMM information such as location, amount and speed per slot.

    Changed A/V to Security Product as it a better term to cover just AV programs and the Security Suites etc.

    Have re-wrote the non PS method for the Graphics card detection but as mentioned above the VRam can sometimes not show or anything over 2GB may be shown incorrect. Also added null result variable checks which will put N/A if they are null.



    Not tested on WInPE as not have time today but i think it still not operate, as i think one of the #include routines require some .net or c++ or even a specific DLL which is not present on a WinPE as it not a full OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    latest version is not falsely detected and language works
     
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    will be adding .Net versions and Powershell versions to the Misc tab tomorrow. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,711
    210
    win7_0.png win7_2.png win7_3.png

    DIMM info working. Graphics now shows a second, not present adaptor.

    The rest is same as above, except that the font is now OK and fits everywhere..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    The extra lang routine is a simple basic file search in systemroot for *-*

    As that file has a - character it picked it out.

    I tried a few fonts and the two i mentioned work ok and looks clean if either gets used.

    The graphics routine isnt perfect , not sure how it shown a vram amount yet no name/caption.

    The 2nd adapter will show not detected as it keeps that section filled a bit as i only look for two adapters as takes ages to look for more.

    Plus allows for other data to be shown at a later time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    The 2nd adapter will show if present, and show not present if not detected is what i meant to type but editing on a phone was awkward so i cancelled my editing and wrote this post.
     
    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,768
    7,711
    210
    About the file, it's the HSTS files from wget, automatically created and maintained.

    Would it be possible to restrict your search to directories? Or is it a string search?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    1.JPG 2.JPG 3.JPG 4.JPG 5.JPG 6.JPG 7.JPG 8.JPG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,317
    21,056
    210
    The routine to get the other languages is same as used in the old qt, but using autoit's filesearch instead of the batch script for loop.

    I think i can mske it ignore anything longer than 5 chars and look for xx-xx pattern explicitly so other filenames skipped.

    I not know of any other way to find any extra langs as it not in registry as far as i can see, i have tried.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    You can search other languages in registery instead
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...