Compatibility with Hardware First Install drivers - 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!

foreigner
Posts: 3
Joined: Wed Sep 01, 2010 4:49 am

Compatibility with Hardware First Install drivers

Hello. Perhaps I am too new and unfamiliar with the Advanced INstaller (AI), which my company is evaluating for a possible purchase.

We develop USB peripheral devices for WinXP and above. We are used to letting the user plug in the device to bring up a Add New Hardware dialogue. But installation by this method requires a lot of user intervention, i.e. not user friendly.

Inspecting the feature list of AI, we think it may be possible to do the same installation with much less user participation, or even before the peripheral is connected.

However, our initial attempt was unsuccessful. Consequently we would like to clarify by the following questions:

1. Are there any successful example projects to get us started?
2. Would the AI-generated MSI or EXE be able to replace the INF files completely?
3. From our previous understanding, installation of USB peripheral involves 2 distinct steps - (a) to enumerate the USB device with the appropriate class (e.g. mass storage, HID, printer); (b) to introduce the new services/functionality/resource to the Windows environment and applications. How can this be achieved by AI?

Ultimately we would like to know if AI is the right product for us or not.

Many thanks.

DW
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Compatibility with Hardware First Install drivers

Hello,
However, our initial attempt was unsuccessful
Could you give us more information on what failed?

We don't have any example projects regarding drivers. Windows Installer can write files from under the SYSTEM account which means it should be able to replace INF files without issues. If however you are encountering issues, it is best you read the installation log to see why the action failed.

For configuring the driver, simply check our installing a driverpage. Note that we don't fully support hardware drivers (only software drivers are supported), however most users reported them to work fine. My suggestion is you thoroughly test the installer before deploying.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
foreigner
Posts: 3
Joined: Wed Sep 01, 2010 4:49 am

Re: Compatibility with Hardware First Install drivers

GabrielBarbu wrote:Hello,
However, our initial attempt was unsuccessful
Could you give us more information on what failed?
Basically if we do not use any INF files, AI would simply copy the driver files (.SYS, .DLL, etc.) to the intended locations under SYSTEM32 and SYSTEM32/DRIVERS. But upon plugging in of the USB device, the Add New Hardware Wizard would pop up as if no driver installation was done.

Our understanding with the INF files suggests that two facts have to be registered into the registry to enable the USB device to be recognized automatically - The first one is a USB class device to enable the enumeration; and a second one for the class of the device itself (e.g. HID, display). We have not found an equivalent mechanism in AI to do such registration.

We suspect that AI is more powerful than what I have described, and so we think it would be a good idea to provide at least one or two examples to demonstrate that it is a good replacement for the convention way of doing it by INF - and give us a reason to buy it.

BTW, we could only understand part of what the installation log file has provided. Is there any documentation to help decipher the contents?

Lastly, please clarify what was meant by "we don't fully support hardware drivers (only software drivers are supported)". Does that mean that our USB device has no hope of successful installation without INF files?

Many thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Compatibility with Hardware First Install drivers

Hi,

Please note that Advanced Installer uses Windows Driver Install Frameworks (DIFx), version 2.1, to install drivers. This framework is designed for installing Software First Install drivers. These are the drivers that come with your application, e.g. an antivirus filter for the network adapter. It is not recommended to use it for installing Hardware First Install type of drivers, e.g. a driver for your sound card.

Although most hardware drivers are supported, they require an INF to be installed with Advanced Installer. If you can install your drivers with DIFx, you can configure them in Advanced Installer. Otherwise the only solution is a custom action.
we could only understand part of what the installation log file has provided. Is there any documentation to help decipher the contents?
The log is generated by Windows Installer based on Microsoft specifications. Here you can find an article which may help you interpret it.
Lastly, please clarify what was meant by "we don't fully support hardware drivers (only software drivers are supported)". Does that mean that our USB device has no hope of successful installation without INF files?
Advanced Installer driver installation is limited by the DIFx framework. You can install only what DIFx supports.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”