PDA

View Full Version : A problem of driver setup using DIFxApp



danielxu22
07-04-2006, 01:11 AM
Hi, there,

Please do me a favour to answer my question.

My problem is a MSI Installation used WiX contains DIFxApp. My code is:

<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='SystemFolder' Name='System32'>
<Directory Id='INSTALLDIR' Name='Drivers'>

<Component Id='DRIVER1'
Guid='B3E6DDE1-6153-4155-9861-853FA4419948' DriverForceInstall="no"
DriverSequence="0">
<File Id='DRIVER1INF' Name='DRIVER1.INF' DiskId='1'
Source='DRIVER\DRIVER1.INF' Vital='yes'></File>
<File Id='DRIVER1CAT' Name='DRIVER1.CAT' DiskId='1'
Source='DRIVER\DRIVER1.CAT' Vital='yes'></File>
<File Id='DRIVER1SYS' Name='DRIVER1.SYS' DiskId='1'
Source='DRIVER\DRIVER1.SYS' Vital='yes'></File>
</Component>

<Component Id='DRIVER2'
Guid='392ED8CF-EDA9-40ff-BA02-A2D4312EFDBC' DriverForceInstall="no"
DriverSequence="1">
<File Id='DRIVER2INF' Name='DRIVER2.INF' DiskId='1'
Source='DRIVER\DRIVER2.INF' Vital='yes'></File>
<File Id='DRIVER2CAT' Name='DRIVER2.CAT' DiskId='1'
Source='DRIVER\DRIVER2.CAT' Vital='yes'></File>
<File Id='DRIVER2SYS' Name='DRIVER2.SYS' DiskId='1'
Source='DRIVER\DRIVER2.SYS' Vital='yes'></File>
</Component>

</Directory>
</Directory>
</Directory>

When I setup a single driver, it would be successful. I could not install
two or more drivers in one installation. See following error picture.


The Error Code is:

DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is
{B3E6DDE1-6153-4155-9861-853FA4419948}.
DIFXAPP: 'CustomActionData' property 'componentPath' is
C:\WINDOWS\system32\Drivers\.
DIFXAPP: 'CustomActionData' property 'flags' is 0xA.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is MyTest 1.0.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is MyTest
DIFXAPP: ERROR more than one driver package found in
C:\WINDOWS\system32\Drivers\
DIFXAPP: InstallDriverPackages failed with error 0xD

Could you give me a piece of advice? Thanks a lot.


I also use InstallShield 12 Evaluation, the same thing happened.

DIFXAPP: ERROR more than one driver package found in
C:\WINDOWS\system32\Drivers\
DIFXAPP: InstallDriverPackages failed with error 0xD

Dose anyone know how to fix this problem?

BR,
Daniel