When installing a driver using DIFx, an MSI package is usually the best solution. Since you need to create an MSI installer, you first need to get a good Windows Installer setup tool.
Advanced Installer is one of the best, but you can also try a different tool.
In Advanced Installer configuring a driver is easy:
- create a new Enterprise or Architect project
- go to Files and Folders page and add your driver files
- go to Drivers page and add your driver
- set driver install options
Some of the options you can set are:
- Force the installation of a new PnP function driver on a device
- Do not prompt the user to connect the device to the computer
- Do not create an Add or Remove Programs entry for the component
- Install unsigned driver packages and driver packages that have missing files
- On uninstall remove the binary files that where copied to the system when installed
Please note that if you are installing multiple drivers it’s best to use a separate folder for each of them.