[wix-users] Difxapp and minor upgrades

Phill Hogland phill.hogland at rimage.com
Fri Sep 11 07:27:57 PDT 2015


>> The behavior was the same, i.e. the driver was not updated properly.
It seems like this confirms that the issue is at the INF/Class Installer level and not related to MSI, so I would focus on understanding the driver rank decisions which will be indicated in a verbose log.

For verbose logging of setupapi is the LogMask defined?  (0xFFFFFFFF) with LogLevel (0x00007070)
https://msdn.microsoft.com/en-us/library/windows/hardware/ff544882(v=vs.85).aspx 
https://msdn.microsoft.com/en-us/library/windows/hardware/ff550845(v=vs.85).aspx

I usually find details about the rank decision in the log when these verbose settings are used, and then using the link sent previously to sort out the meaning of the rank scores.

Using DifxApp for filter drivers imposes some additional requirements detailed here:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff543646(v=vs.85).aspx

Most of my drivers are PnP Printer drivers, but a I also had a filter driver (which is a non-pnp driver) at one time.  Generally ChkINF is helpful for finding major problems generic to any type of INF but it generally was not helpful in identifying issues specific to a particular class of INF files.  In fact when I last used it, ChkINF will throw errors on entries which are required by the Printer Class.  If those entries are not there the INF does not work, but ChkINF says it is OK, so I don't have confidence in the results of ChkInf for specialized classes.  (I have not used the most recent WDK and ChkINF, so your mileage may be different.)


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hannu Napari
Sent: Friday, September 11, 2015 7:04 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Difxapp and minor upgrades

Hi,

Setupapi.dev.log does not reveal any issues. I am using difxapp exension. I already tested manual installation and upgrade.
The behaviour was the same, i.e. the driver was not updated properly.

I have also checked (chkinf and manual review) the INF-file for errors, but saw none. I think a minor upgrade should be able to upgrade drivers as well, so my assumption is that there might be something wrong in the INF-file. Any ideas what specific issues in the INF file might cause this?

Regards,

//Hannu


On Wed, Sep 9, 2015 at 6:42 PM, Phill Hogland <phill.hogland at rimage.com>
wrote:

> I would look at the setupapi.dev.log.
> Are you using the DiffxApp extension?
> Does your updated driver install properly by doing only the steps that 
> the MSI is doing, manually without using MSI, such as by right 
> clicking on the INF file?
>
> If doing a minor update of specific driver files I would think that 
> would break the driver's code signing on the INF file, which would be 
> one reason that the OS might load an older driver with a better driver rank value.
>
> https://msdn.microsoft.com/en-us/library/windows/hardware/ff546225(v=v
> s.85).aspx
>
> I have never tried to do a minor update of a driver, just major 
> updates of complete driver packages, but I would validate the driver 
> update process using only INF tools, without using MSI before 
> integrating the changes into a MSI package.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Hannu Napari
> Sent: Wednesday, September 09, 2015 10:21 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Difxapp and minor upgrades
>
> Hi,
>
> I seem to be having some problems with drivers and minor upgrades on 
> Windows 7, 8, and 10. The drivers in question are network filter drivers.
> If I create a minor upgrade package, the sys-files in system32\drivers 
> are not updated correctly. After the upgrade the old versions of the 
> sys-files are present, not the updated ones.
>
> The logs (MSI, setupapi) show no issues during the update. The driver 
> files in system32\drvstore are updated as expected. Uninstallation 
> works and it will remove the sys-files from system32/drivers as well. 
> Also major upgrade works as expected.
>
> Any ideas where to look for the cause of this problem?
>
> Regards,
>
> //Hannu
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list