Run an installer (inf) file programmatically?

Another Windows specialty I do not know how to handle:
I need to make sure a VCP driver is installed (CP210x USB to UART Bridge VCP Drivers - Silicon Labs). The Windows 11 compatible driver is not delivered as an installer but documentation says user has to install it manually with a right click on the inf file, selecting “install”. Is there a way to do that as a shell command or similar?

It’s been a while since I’ve had to do this, but I believe PNPUTIL will do the trick.

pnputil.exe -i -a c:\windows\temp\path-to.inf

1 Like

Thank you! Yes it does!