• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 602
  • Last Modified:

How to write a program to run .inf file to installer a Filter Driver?

Hi Experts,

I have develop a filter driver call myfilter.sys, now I want to write a program to let user can click on this to installer my filter driver.
As i know we can right click on .inf and chose install to run a .inf file to installer a filter driver. BUT for me, I want to have a program as .exe or .bat file that User just click on this to install.

Can you help me to give some ideas or example about this?

Thank in advance!
  • 2
1 Solution

an *.inf file is a textfile ... if you know the format you can create it youself with a textpad...

Please have a look at



Good luck
MobinexAuthor Commented:
oh, I am not mentioned about how to create .inf file.
My question is about how to run .inf file with command line or orther exe program, or winbat file.

I have .inf file already. now I want to let user just click on my program that will auto run .inf file to install the filter webcam.

Please help again?
If you want to access the *.inf file from a setup application please have a look at

But you have to write the program yourself...

Or try
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 <path_to_file>.inf

discussed here...

Good luck
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now