Recommended ways to install USB drivers with a Visual Studio 2005 Setup Project?
- by tjmoore
I need to install a USB driver with an application, and I'm using a Visual Studio 2005 Setup Project to create the installer.
The driver only needs to be installed sufficient enough so that when the USB device is plugged in, Windows will go off doing it's "installing device" routine and do the rest of the job. It would be okay also to have the setup finish and then the user connects the device when required with the driver install completing then. However the user shouldn't be prompted to find a driver location.
The USB drivers I have are available either as plain .sys / .inf files, or as a full installer (.msi together with a setup.exe wrapper). The full installer deals with combinations of operating systems and languages, but the application is for internal use and I can limit the target OS to Windows XP.
Would it be better just to run the available installer via a custom action, or to install via the .inf file somehow (I'm not sure how to do that)?