Solved

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

Posted on 2008-06-18
4
564 Views
Last Modified: 2013-12-03
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!
0
Comment
Question by:Mobinex
  • 2
4 Comments
 
LVL 7

Expert Comment

by:gnurl
ID: 21819658
Hi,

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

Please have a look at

http://msdn.microsoft.com/en-us/library/ms790220.aspx

http://msdn.microsoft.com/en-us/library/aa376858.aspx

Good luck
gnurl
0
 
LVL 1

Author Comment

by:Mobinex
ID: 21819676
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?
0
 
LVL 7

Accepted Solution

by:
gnurl earned 500 total points
ID: 21819890
If you want to access the *.inf file from a setup application please have a look at
http://msdn.microsoft.com/en-us/library/ms790206.aspx

But you have to write the program yourself...

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

discussed here...
http://www.ss64.org/viewtopic.php?id=72

Good luck
gnurl
0
 
LVL 19

Expert Comment

by:alb66
ID: 21821280
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question