Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

A problem of driver setup using DIFxApp


2 replies to this topic

danielxu22

danielxu22
  • Full Members
  • 27 posts

Posted 04 July 2006 - 06:48

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

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 04 July 2006 - 09:46

I found this
http://www.eggheadca.../post583805.asp

Can it still be the case that DIFxApp won't install multiples?
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Petch

Petch
  • Members
  • 35 posts

Posted 04 July 2006 - 14:57

You need to install both .inf files in their own folders. Annoying but that is the only way. Eg:

Folder 'Driver1' where you install component1

Folder 'Driver2' where you install component2

After that the InstallDriverPackages action should run fine.