eshiva
Posts: 23
Joined: Tue Jul 09, 2013 12:35 pm

Driver installation problem

Hi,
I want to install my driver (sys file) using MSI installer. Even though i followed the steps described in this link (http://www.advancedinstaller.com/user-g ... river.html) my driver is not installing (See attached verbose log). Please let me know the issue.

And during the upgrades how can i update y driver (sys file)

Regards,
Shiva
Attachments
MSI3d24c.LOG
(137.41 KiB) Downloaded 531 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Driver installation problem

Hello,

Please keep in mind that for installing a 64-bit driver you should also use a 64-bit package type.
In order to achieve that you can go in the “Install Parameters” page and select a 64-bit option for the “Package Type”.

Selecting this options will also ensure using the DIFx for the 64bit driver. So,your installation package will use Windows Driver Install Framework (DIFx) to install the driver and should also ensure that there will be no problem with the upgrades.

Please notice that, our "Drivers" feature is designed for installing Software First Install drivers only. These drivers usually come with your application, e.g. an anti-virus filter for the network adapter. It is not recommended to use it for installing Hardware First Install type drivers, e.g. a driver for your sound card.

Let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eshiva
Posts: 23
Joined: Tue Jul 09, 2013 12:35 pm

Re: Driver installation problem

Hi Dan,
I changed to 64bit. Now installation is happening, but i am unable to see my driver in Windows\System32\Driver Folder and in Device manager also my device is not listed.. My driver is a virtual driver which does not require any hardware. (like Filter driver).
But during the installation, installer prompting a window of my driver certificate (install or do not install, shows publisher info). This window generally i see when i install my driver manually.

Presently i am installing my driver using "Devcon" utility.

And When the installation progress bar starts before to this i am getting a UAC dialog. How to remove/reduce this time. It is taking so much time to display this dialog. One more thing is sometimes icon is removing for my executables in some machines.

Regards,
Shiva
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Driver installation problem

Hi Shiva,
I changed to 64bit. Now installation is happening, but i am unable to see my driver in Windows\System32\Driver Folder and in Device manager also my device is not listed.. My driver is a virtual driver which does not require any hardware. (like Filter driver). […] Presently i am installing my driver using "Devcon" utility.
I'm not sure why you encountered this behavior. Can you please test on multiple clean machine and see if it still persist? If it does, can you please try to use the Windows Driver Install Framework (DIFx) to install the driver?
I have a hunch that using the “Devcon” utility might be causing the issue. Also, as far as I can see there are a few operating systems which support this device console utility(Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 ) or am I wrong about this?
And When the installation progress bar starts before to this i am getting a UAC dialog. How to remove/reduce this time. It is taking so much time to display this dialog. One more thing is sometimes icon is removing for my executables in some machines.
Unfortunately this is the behavior of the windows. You can take a look on our UAC article and the UAC article from Microsoft.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eshiva
Posts: 23
Joined: Tue Jul 09, 2013 12:35 pm

Re: Driver installation problem

Thanks Dan,
1) I will try with DIFx to install my driver. But can you please confirm me that will my driver (virtual) installed through DIFx. As my driver does not require any hardware.

2) On Install Parameters -> Minimize Installation Time --> Perform only file costing and skip checking other costs
Enabling this option in what way it reduces the installation time. In my case "preparing to install" dialog is taking so much time. Will this option reduce this dialog display time?

3)
One more thing is sometimes icon is missing for my executables in some machines
Please let me know the issue.

4) When i do upgrade installer has to be displayed with previous version number and tell the user that already older version is existed, Continue installing newer version?. How can i achieve this instead of silent un-installation of older version.

5) I had placed a reboot event in the upgrade case after uninstall of older version and before install the new version and which is working fine. But after reboot installer is resuming before windows logon (blank sceen) . But i want to resume the installation after full logon.

Please remember that i need an MSI output with single file.

Regards,
Shiva
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Driver installation problem

Hi Shiva,
I will try with DIFx to install my driver. But can you please confirm me that will my driver (virtual) installed through DIFx. As my driver does not require any hardware.
Indeed, you should achieve the desired behavior using the the Windows Driver Install Framework (DIFx) to install the drive.
On Install Parameters -> Minimize Installation Time --> Perform only file costing and skip checking other costs
Enabling this option in what way it reduces the installation time. In my case "preparing to install" dialog is taking so much time. Will this option reduce this dialog display time?
Unfortunately this is not related with the Advanced Installer. I have a hunch that this is a windows icons caching problem. That is why is it can be encountered just on “some machine”.
One more thing is sometimes icon is missing for my executables in some machines
Please let me know the issue.
Can you please give us more details(what exe, it is a shorcut to an .EXE, etc)? Please give us a step by step scenario.
When i do upgrade installer has to be displayed with previous version number and tell the user that already older version is existed, Continue installing newer version?. How can i achieve this instead of silent un-installation of older version.
Unfortunately we don't have predefined support for this. You can have your own custom action that implment this scenario. For example, you can create your custom action as a custom action written in C# or a custom action written in C++.

You can also take a look on Get Product Version from ProductCode article which may be useful to you.
I had placed a reboot event in the upgrade case after uninstall of older version and before install the new version and which is working fine. But after reboot installer is resuming before windows logon (blank sceen) . But i want to resume the installation after full logon.
Can you please take a look on Reboot after uninstall and during upgrade where is debated a similar subject.

Please let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eshiva
Posts: 23
Joined: Tue Jul 09, 2013 12:35 pm

Re: Driver installation problem

Hi,
Can you please give us more details(what exe, it is a shorcut to an .EXE, etc)? Please give us a step by step scenario.
I have a executable (EXE file generated from visual studio) that will be copied to Programfiles (x86) folder after installation. And also i am creating shortcut to this exe on desktop. But i am not getting icon for the exe (main executable which is in ProgramFiles(x86) folder and desktop shortcut. What is the issue.

Regards,
Shiva
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Driver installation problem

Hello Shiva,

This may happen due to a well known Windows Installer bug. Please note that a similar issue is debated on the Desktop icon is not being shown properly thread.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”