04-08-2025 02:50 PM
Hi,
I am looking for a way to get a list of all the NI drivers/software similar to how NI-MAX displays them. I am able to use the following, but it gives me a lot more than what I want, and not exactly what I am looking for.
04-11-2025 12:13 PM
One possible alternative is to use WMI to access information on installed software.
Attached is a modified version of one example of mine that includes the search for software installed on the system.
WARNING: it may take *long* to execute: on my i3, 1.2 GHz laptop it takes 45 seconds to list all modules. I have tested initially on an older machine with tons of programs installed resulting in 150 seconds elapsed time 😱 On the other hand, times spent using the equivalent WMIC command is more or less the same.
FYI my example can be found here but it seems I cannot update that page anymore... 😕
04-11-2025 12:27 PM
Hi Roberto,
Thanks, but this looks like it is getting hardware info not software.
Regards,
Mike
04-11-2025 12:31 PM - edited 04-11-2025 12:36 PM
There is a "Software" tab where you get info on installed modules. That example has grown and grown in the years and includes several information I have looked for from time to time.
04-11-2025 12:37 PM
I don't see a software tab. This is what I have.
04-11-2025 12:46 PM
Did you download the example from the original thread in the knowledgebase or from my post in this discussion? As I said, I couldn't update that example, so the code found there does not include the software tab. Download CallWMI_4 from my first answer to you.
04-11-2025 12:48 PM
Hi Roberto,
Thanks, I did get the wrong one.
Have a great day.
04-11-2025 12:54 PM
Hi Roberto,
I appreciate the effort, but it is getting 1300 results. I wonder if there is a way to make a more direct query.
04-11-2025 04:41 PM
The query can be tailored a bit depending on your requirements: in the example I have added the "NI only" checkbox to limit search to modules installed by NI but the SQL command can be further refined based on the content of Win32_Product class