Driver Installation from an MSI using Microsoft DIFx
I wanted to call your attention to a great new member submitted article-- Creating a driver installation in an MSI can be a challenging task. One of the more popular methods to achieve this is to use Microsoft's Driver Installation Framework (DIFx). Microsoft provides documentation on DIFx, however it is limited and doesn't provide any examples. The article at the link belowprovides a step by step working example of how to achieve this task. In the step-by-step, Jeremy Boyes walks you through creating a Windows XP installation for a Signed Driver: Synaptics Touchpad with Wise Package Studio.
http://www.itninja.com/blog/view/driver-installation-from-an-msi-using-microsoft-difx
Answers (4)
The rest of the article is right on, though. Very helpful.
Tip: Some drivers have several different folders containing the relevant files. If this appears to be the case, check the entries of the .inf file to see if there are references to files in a subfolder(s).
If so, you may need to modify the file path entries in the .inf file, to allow all the files to be in ONE root folder.
All files for a specific driver need to be in one root folder along with the .inf file for a successful installation via DifX.
"what to do in youur pakcage if Windows only wants to recognize its own driver for the device you are creating the package for" [:D]
But, I believe the part I quoted is in error. I have yet to get a definitive answer from Microsoft. Or find official MSDN documentation to confirm it. But I recently created a package that used subdirectories. On a conference call wtih the vendor, they told me if you alter the inf file it breaks the signing. Experimentation confirmed that.
Cheers,
so that the conversation will remain readable.