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!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

driver installer

Hi,

I am trying to create a driver install project and it is failing miserably ...

I have attached the install project source.

Mike
Attachments
InstallTest.zip
(275.5 KiB) Downloaded 407 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Here are the dialogs:
Wiz_01.PNG
Wiz_01.PNG (17.61 KiB) Viewed 11253 times
Wiz_02.PNG
Wiz_02.PNG (31.7 KiB) Viewed 11253 times
Wiz_03.PNG
Wiz_03.PNG (22.1 KiB) Viewed 11253 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Wiz_04.PNG
Wiz_04.PNG (19.47 KiB) Viewed 11253 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Here is my driver verification:
( it's valid, as I confirmed with Comodo )
Driver_Verified.PNG
Driver_Verified.PNG (44.17 KiB) Viewed 11253 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Here are my files:
Files_Application.PNG
Files_Application.PNG (25.32 KiB) Viewed 11253 times
Here is my driver:
Files_DeviceDriver.PNG
Files_DeviceDriver.PNG (19.25 KiB) Viewed 11253 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Here is the result of running the application:
DriverInstallFail.PNG
DriverInstallFail.PNG (97.03 KiB) Viewed 11253 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

I also noticed this:

During the wizard... I select "On install remove the binary files that were copied to the system when installed"
Wiz_03.PNG
Wiz_03.PNG (22.1 KiB) Viewed 11253 times
Then when the wizard is done and the main program is brought back into focus:
The "install unsigned driver packages and driver packages that have missing files" is checked !
Finished.PNG
Finished.PNG (12.65 KiB) Viewed 11253 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: driver installer

Hello Mike,

Advanced installer uses DIFX API for installing drivers through our "Drivers" page. It seems that in your case DIFIX returns an error (error code 0xE000022F) because your driver package does not contain a catalog file. Can you give us more details regarding how you can successfully install manually your driver? Maybe we can find a workaround solution for your driver installation.

Regarding the issue with the Drivers Wizard misconfigured flag, we can reproduce and confirm this issue. A fix will be available in the next version of Advanced Installer, thank you for bringing it to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Daniel,

The driver we have is a software device driver :

Software drivers
Our expanded definition is reasonably accurate but is still incomplete because some drivers are not associated with any hardware device at all. For example, suppose you need to write a tool that has access to core operating system data structures, which can be accessed only by code running in kernel mode. You can do that by splitting the tool into two components. The first component runs in user mode and presents the user interface. The second component runs in kernel mode and has access to the core operating system data. The component that runs in user mode is called an application, and the component that runs in kernel mode is called a software driver. A software driver is not associated with a hardware device. For more information about processor modes, see User Mode and Kernel Mode.+
This diagram illustrates a user-mode application communicating with a kernel-mode software driver.
diagram that shows an application and a software driver


https://docs.microsoft.com/en-us/window ... -a-driver-
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

See below
Last edited by MLiss@Cetrus.com on Fri May 05, 2017 6:39 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Daniel,

I had a catalog file generated for our driver.

I rebuilt the installer with our signed driver and our signed catalog file, but I am getting (what I think) is an unexpected message box during install:
DriverInstallMessage.PNG
DriverInstallMessage.PNG (39.66 KiB) Viewed 11221 times
I have attached my driver install project for your testing.
Attachments
InstallTest.zip
(281.93 KiB) Downloaded 395 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

I found a check box for prompting user about installing driver...
PromptForDriverAtInstall.PNG
PromptForDriverAtInstall.PNG (12.67 KiB) Viewed 11220 times
I checked it, rebuilt the project... but it still had the same dialog pop up
DriverInstallMessage.PNG
DriverInstallMessage.PNG (39.66 KiB) Viewed 11220 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: driver installer

Hello Mike,

The dialog you are referring to is a Windows Dialog. It is a prompt to install the driver triggered by the OS and is the normal behaviour during the driver installation.

There is no option you can use to hide this publisher check dialog prompt.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: driver installer

Daniel,

OK ... thank you
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: driver installer

You're welcome Mike.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”