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,320
    21,059
    210
    #9341 mxman2k, Nov 27, 2022
    Last edited: Nov 28, 2022
    (OP)
    If it was that tosh laptop i have 30 mins be quick lol

    But no it should be faster than that even on a vm.

    If it takes longer than 30 seconds i endtask the qt and re run it. I just thought it was my clevo laptop i use that hung as i got several things on the go.

    Will see where i can speed things up. The 1 to 15% is all the os detection stuff, like tpm, edition, upgraded info etc quite a lot, may split some into other areas.

    *edit fixed spelling - (phone autocorrect had a bad hair day i think!)
     
    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
    #9342 mxman2k, Nov 28, 2022
    Last edited: Nov 28, 2022
    (OP)
    Hopefully speeded things up as now on the processwait (when such external commands like WMIC etc) is run i have limited to a max of 5 seconds to obtain the result from the call, plus a additional 100th second delay to allow the process's PID to be closed to prevent memory leaks, although AutoIT does close the opened PIDs at the end of program run (or exit from a crash).

    The 5 seconds may need to be adjusted if it too quick, but that can be tweaked as time goes on, im guessing 5 secs is close to ideal but a max of 10 seconds may be required on some slow commands.
     
    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
    Uploaded .41 and updated post #3 with download link etc :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Was asked what is the GUI QT's version numbering system example GUI_QTv0.10.2.41, well the 0 after the v bit means is it is below final ,(or still in beta testing releases), that will change to v1 when beta testing has completed.

    The 10 bit is a nod to Windows 10, i may use 11 at a later stage, but so far i am personally not overly impressed with w11 , a bit better with latest one 2262x.

    The 2 is the milestone version - this changes when major additions/changes are done such as adding a new tab section.

    The last bit after the 2 above is a simple reference to which minor revision is current.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    1.JPG 2.JPG 3.JPG 4.JPG 5.JPG
     
    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
    @Dubioza Kolektiv was the GUI QT faster in operation?, although it seems to mainly affect VM's or the LSTB/C OS's the most.

    I personally noticed the 1 to 12% was certainly faster than it was before.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Screenshot_20221128_092154_Clock.jpg
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Hope that is 15 seconds and not minutes or i have really messed things up more :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    15 seconds :D
     
    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
    Phew!! :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    audit-2022-11-28-13-14-51.png

    audit-2022-11-28-13-15-50.png audit-2022-11-28-13-15-59.png audit-2022-11-28-13-16-13.png audit-2022-11-28-13-16-20.png audit-2022-11-28-13-16-47.png

    maybe document -saveonly switch in post #3 :)
     
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Will do.

    Seem average is approx 12 to 18 seconds. Think that is a bit better than before.

    Im learning new techniques, just remembering them is my problem :D
     
    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
    Just at a health meeting do be a while time i get to update bits.
     
    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
    #9354 mxman2k, Nov 28, 2022
    Last edited: Nov 28, 2022
    (OP)
    Done :)

    Altered the code to allow saveonly with or without the - character suffix.

    Uploaded .42 -- only the above internal command line parameter code been changed from .41 been done.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Are thre any other switches besides saveonly? different location? Can we have it run in Winpe?
     
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #9356 mxman2k, Nov 29, 2022
    Last edited: Nov 30, 2022
    (OP)
    Nope no other command line parameters apart from -help help or -?, sadly the GUI QT will not run in win_pe at moment as .net 2.0, 3.5 and 4.x will need to be installed in the winpe as some parts will require it to fully function. It may work for some of the results but SLIC/MSDM data will be limited.
     
    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
    #9357 mxman2k, Nov 29, 2022
    Last edited: Nov 30, 2022
    (OP)
    I will add a save location selector once i work out how to make it work.

    It may be a while as error checking needs to be worked out.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #9359 mxman2k, Nov 30, 2022
    Last edited: Nov 30, 2022
    (OP)
    GUI_QTv0.10.3.00 - yes milestone 3 reached as a major code update has been done. :D

    Added save folder/location requester when the scanning is completed this will show for normal full GUI or when using the -saveonly (saveonly) command line. If nothing selected (or error) then Desktop will be the default saved location.

    I cannot use the command line parameter to enter a user typed location as it can cause all sorts of hassle with error checking etc, so using the OS's folder location requester is a better way as that does all the hard work and gives me back either the valid location or a error which i just parse the results.

    Lazy method i know but why reinvent the wheel when the OS does all the hard work in checking ? :p

    Updated Post #3 with download link, hashes and other info.
     
    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
    MRP 148 will be ready by the weekend , a small delay as been busy with various life things, only be a couple of days late. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...