If I recall correctly the .inf file must be the keypath of the component
that Difx is installing.

<Directory Id="PciIbs" Name="PciIbs">
        <Component Id="PciIbsDriver" 
Guid="{AD037B1D-D7B7-4354-A5AB-BED39591ABC8}">
                <File Id="Ibddiwnt.dll" Name="Ibddiwnt.dll" DiskId="1" 
Source="Ibddiwnt.dll" />
                <File Id="Ibpcimpm.inf" Name="Ibpcimpm.inf" DiskId="1" 
Source="Ibpcimpm.inf" KeyPath="yes" />
                <File Id="ibpcimpm.sys" Name="ibpcimpm.sys" DiskId="1" 
Source="ibpcimpm.sys" />
                <File Id="pri10w32.dll" Name="pri10w32.dll" DiskId="1" 
Source="pri10w32.dll" />
                <difx:Driver Legacy="yes" />
                <Condition><![CDATA[INTERBUSCARDDESC <> ""]]></Condition>
        </Component>
</Directory>

-----Original Message-----
From: David Battey [mailto:dbat...@phoenixcon.com] 
Sent: Tuesday, July 20, 2010 7:07 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] difx:Driver isn't installing driver

I've got the following code

<Directory Id="PciIbs" Name="PciIbs">
        <Component Id="PciIbsDriver" 
Guid="{AD037B1D-D7B7-4354-A5AB-BED39591ABC8}">
                <File Id="Ibddiwnt.dll" Name="Ibddiwnt.dll" DiskId="1" 
Source="Ibddiwnt.dll" />
                <File Id="Ibpcimpm.inf" Name="Ibpcimpm.inf" DiskId="1" 
Source="Ibpcimpm.inf" />
                <File Id="ibpcimpm.sys" Name="ibpcimpm.sys" DiskId="1" 
Source="ibpcimpm.sys" />
                <File Id="pri10w32.dll" Name="pri10w32.dll" DiskId="1" 
Source="pri10w32.dll" />
                <difx:Driver Legacy="yes" />
                <Condition><![CDATA[INTERBUSCARDDESC <> ""]]></Condition>
        </Component>
</Directory>

I have read on the list that the <Condition> may not work, but in this 
case it's true, so that's not an issue.

When I run my msi, the driver is not installed. Here's what's in the log 
file:

Action ended 9:11:49: InstallFiles. Return value 1.
MSI (s) (D4:A8) [09:11:49:265]: Doing action: MsiProcessDrivers
MSI (s) (D4:A8) [09:11:49:265]: Note: 1: 2205 2:  3: ActionText 
Action start 9:11:49: MsiProcessDrivers.
MSI (s) (D4:00) [09:11:49:265]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSIF.tmp, Entrypoint: ProcessDriverPackages
DIFXAPP: ENTER: ProcessDriverPackages()
DIFXAPP: INFO: 'Component' is 'PciIbsDriver'
DIFXAPP: INFO: Component state 0x2 -> 0xFFFFFFFF
DIFXAPP: INFO: 'ComponentId' is {AD037B1D-D7B7-4354-A5AB-BED39591ABC8}
DIFXAPP: INFO: 'Flags' is 8
DIFXAPP: INFO: component path is 
MSI (s) (D4!04) [09:11:49:500]: PROPERTY CHANGE: Adding 
NoOp_{AD037B1D-D7B7-4354-A5AB-BED39591ABC8} property. Its value is 'TRUE'.
DIFXAPP: INFO: This is a no-op custom action for component PciIbsDriver. 
The NoOp_{AD037B1D-D7B7-4354-A5AB-BED39591ABC8} property has been set to 
TRUE.
DIFXAPP: RETURN: ProcessDriverPackages() 0 (0x0)
Action ended 9:11:49: MsiProcessDrivers. Return value 1.
MSI (s) (D4:A8) [09:11:49:500]: Doing action: DuplicateFiles

The driver isn't getting installed. What is the function of the "NoOp_..." 
property? I presume my driver isn't installed because this property is 
TRUE, but then the question is why is this property getting set to true?

Thanks for any help,
David
----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to