I need to install a driver for a smart card reader directly from the C#
code of my application, but all I got from the manufacturer of the
reader is a driver made of two files : a .INF file and a .CAT file.
I tried to install the driver by right-clicking on the .INF file, but I
got a message error saying that this .INF file does not support this
way of installing.
On the web, I found this command line :
DefaultInstall 132 yourfile.inf
but when trying it, I got a message saying that InstallInfSection was
So my question is How can I install such a .INF file from C# code,
without asking the user for an action ?
Thank you for your help.