Driver INF installation - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

clive_bor
Posts: 48
Joined: Thu Mar 09, 2006 8:32 am

Driver INF installation

Hi,

We are trying to install a Software First driver that our application uses.

I have added the INF file to the Drivers section, but after installing the application, we are still required to either Right-click > Install on the INF file or run the following command as a custom action

Code: Select all

RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 [#driver.inf]
We would also require custom actions for starting, stopping and uninstalling in that case too.

Questions:
1. Why are we required to have the custom actions to install the driver or install it manually if we have added it to the installation package as a driver?
2. Regarding starting the driver service using a custom action, we have set the driver to start up automatically with the system (in the INF file), is there an option in the INF or Advanced installer to start the driver service when installed?

Please advise.
Thank you!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Driver INF installation

Hello,

I am not sure why you are getting this behavior. Usually it's enough to follow our related driver how-to and everything should be installed fine if it's a software first install driver.

Did the software driver manufacturer provide any related install instructions? You should also check that to make sure there aren't any particular steps you need to consider.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clive_bor
Posts: 48
Joined: Thu Mar 09, 2006 8:32 am

Re: Driver INF installation

Hi,

I found the cause was due to my INF not meeting DIFx driver package requirements, it was missing

Code: Select all

DriverPackageType=FileSystemFilter
Forum post; http://www.advancedinstaller.com/forums ... 502&p=8862
more specifically http://download.microsoft.com/download/ ... s_reqs.doc

Thank you

Return to “Common Problems”