[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

How do I install a driver using Visual Studio?

Posted on 2010-03-25
2
Medium Priority
?
948 Views
Last Modified: 2013-12-01
I have a C# windows application that relies on a custom C++ driver I wrote in order to function.  I am now trying to create a Setup Project that will install that driver and I cannot figure out how to enable that option.
I just need to have the setup project fire off a custom action that installs the driver - can somebody please help?
0
Comment
Question by:ktola
2 Comments
 
LVL 3

Accepted Solution

by:
Mike_Mozhaev earned 2000 total points
ID: 28611926
If you are using Visual Studio Setup Project for installation then you probably can write a custom action which installs driver by means of DIFx API (Driver Installation Framework).
But I suggest using WiX+DIFx for creating a setup package. It gives full control over installation process. There is some guidance in the following article: http://msdn.microsoft.com/en-us/library/ms790289.aspx 
0
 

Author Closing Comment

by:ktola
ID: 31707210
WIX is exactly what I needed and it is hooked into VS 2008 which makes things even better - thanks!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

591 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