Multi-OEM/Retail Project {MRP} - Mk3

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

  1. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    575
    970
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #8742 mxman2k, Oct 12, 2022
    Last edited: Oct 12, 2022
    (OP)
    Due to the routines ive done sadly win 7 and below cant be checked with the gui version.

    Once i got most sorted on this gui one i may write one just for the pre 8.0 os's, want to push myself on this one first.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Thanks for the line number, i will have a start point now, im thinking it is in the misc or dmi/bios sections, most likely the misc one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    575
    970
    30
    Tested on Windows 10 Pro 21H1, previous versions working though:p.

    Best Regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Odd it only on certain w10 editions :g:

    Not got any pro installs , will install it on a old laptop and see what is triggering the crash.

    But i will nail the error one way or another :)

    The only things added was the av detection it uses a dll in some api way to detect, also added was the internet check, but as it not in the gui results i can remove that bit easy without upsetting any layout.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Just checking latest QT GUI code for missing variables etc but probably missed one or two as there are lots to look for!

    Have removed the antivirus check as not reliable and cant do the same way as i can in batch or PS so gave up on that for now.
    Also removed the internet online check as that not as reliable either plus could flag up a AV false positive.

    Added updated registry reading for 64 and 32 bit os's to hopefully get correct information.

    Misc tab has only a MRP Used line for the time being - that took a few head scratching moments to get the data read and was the reason for the new registry reading for 64/32 bit as when compiled it would ignore some info as was looking in wrong place.

    Will upload 0.9.7 shortly to next post....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #8747 mxman2k, Oct 13, 2022
    Last edited: Oct 13, 2022
    (OP)
    removed link
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    1.JPG 2.JPG
     
    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,769
    7,711
    210
    Feeling left out... :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Once i can work out which pshell is required for win 7 that will allow the routines to work then i can hopefully unlock the GUI for 7.

    I may have to adjust routines to skip certain ps routines and use wmic which isn't that accurate for the vram side.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    575
    970
    30
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    does the below code work on 7 ?

    save as a .ps1 file - admin not required.

    Code:
    
    $AVList = @(Get-CimInstance -Namespace 'root/SecurityCenter2' -ClassName 'AntivirusProduct')
    
    switch ($AVList.Count)
    #switch (0)
    #switch (3)
        {
        0 {
        Write-Host 'No AV product detected.'
        write-host 'N/A'
        }
        1 {
            Write-Host 'There is one AV product installed.'
            Write-Host ($AVList.displayName)
            }
        default
            {
            Write-Host ('There appears to be {0} AV products installed on this system.' -f $AVList.Count)
            Write-Host (($AVList.displayName -join ', '))
            }
        }
    
    
    If this works on 7 then it just the graphics/vram ps script that it not like on 7.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    hmm secure boot checks was always awkward i am guessing it being fussy...

    Was a pain in batch script too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    on my laptop i get the av results as:

    There appears to be 2 AV products installed on this system.
    360 Total Security, 360 Total Security

    picks the name twice - no idea why as it only installed once :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,769
    7,711
    210
    Output is:

    Code:
    There is one AV product installed.
    COMODO Antivirus
    Press Enter to continue...:

    According to QT, my installed Powershell versions are:

    Code:
    Powershell Version{s}      : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    At least that ps script worked. :)

    The extended ps script to get the vram/graphics info certainly not work on 7 as 5.x and below not have the required api calls... but i can use wmic which isnt perfect for over 4gb vram but then i am not sure if the flashy ps routine works as no one posted anything about a gfx card with more than 4gb :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Powershell and .net versions i am working on in the GUI version but not added it in yet as still working out other bits.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,769
    7,711
    210
    Nobody? There you are!

    nvidia_2070super_over_rdc.png nvidia_2070super_over_rdc2.png


    Note: Taken while being connected over RDC.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    many thanks Carlos at least i know that routine actually works - pity i cant convert from ps to batch or autoit :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Trying something in the GUI QT for w7 so it can be used on any OS Vista --> 11

    basically skipping the ps script for gfx detection that crashes out, not wrote the wmi version yet so it will just say N/A etc for now in that gfx section.

    If it works then i will upload the new test one, but as mentioned no gfx card info yet on w7.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...