PDA

View Full Version : Driver installation in installshiled premier



Rita_m
08-12-2015, 09:27 AM
Hi,

I am trying to install a driver using the device driver wizard in a basic MSI project but the installer does a rolling back and the driver is not installed. Is there another way to install a driver? I have another driver in my project which is installed correctly. The driver that i am not able to install is FTDI driver.

Thank you,
Rita

Evan Border
08-13-2015, 02:38 PM
Hi,

I am trying to install a driver using the device driver wizard in a basic MSI project but the installer does a rolling back and the driver is not installed. Is there another way to install a driver? I have another driver in my project which is installed correctly. The driver that i am not able to install is FTDI driver.

Thank you,
Rita

Log the MSI install and carefully review the log. It probably will wind up saying that an expected driver file was missing. Microsoft's Driver Install Framework (DIFx) reads the driver's .inf file and any file mentioned in there is verified, even if they aren't used in certain scenarios. For example, your driver may have info for both the x86 and x64 flavor, but obviously it won't be using the x86 files when you install it on 64-bit Windows. But you still must include every file, otherwise DIFx will error-out and you'll experience a rollback.

Anyways, log the MSI install and read it carefully (I think you can search for DIFx and view a few lines above and below it to see the error).

Christoph
08-19-2015, 02:17 AM
For the FTDI driver, which files do you include in your project?
When you download the FTDI Driver from their website, they deliver a complete setup package(with their installer).
I call their installer from my installer project to be sure the driver(s) is(are) correctly installed.

I download the drivers from: http://www.ftdichip.com/

Rita_m
08-19-2015, 08:04 AM
For the FTDI driver, which files do you include in your project?
When you download the FTDI Driver from their website, they deliver a complete setup package(with their installer).
I call their installer from my installer project to be sure the driver(s) is(are) correctly installed.

I download the drivers from: http://www.ftdichip.com/


I included the ftdibus and ftdiport inf files and all the files the inf needs.

I solved the problem and the drivers installed successfully.

Thank you :)