Learning installed driver version from registry

This forum covers issues concerning multiple software products.
Post Reply
Murat.Ocakturk
Posts: 14
Joined: Wed 29. Jun 2016, 14:07

Learning installed driver version from registry

Post by Murat.Ocakturk » Wed 9. Nov 2016, 13:34

Hello,

I want to display warning to user when installing my application, if installed PCAN driver is old in his/her PC.
I should be able to do this by writing setup script (not C++ / C#...).

Is there a possibility to get installed PCAN driver version from registry?

I read "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Pcan_usb" node, but I couldn't see version.

Thanks,
Murat

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Learning installed driver version from registry

Post by M.Maidhof » Wed 9. Nov 2016, 16:22

Hi,

a simple solution will be to check the file version of Windows\system32\drivers\pcan_usb.sys

regards

Michael

Post Reply