/build/static/layout/Breadcrumb_cap_w.png

Problems with DiffXApp

Hello,

I am using InstallShield v11.5 and do the following:
Adding (by Decive Driver Wizard) my INF, SYS and CAT files.
All files are 32-bit.

I package my project and trying to execute it on WinXP machine.
I fails (install rollback) with the following:
DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {DE886610-7E3F-4517-823E-1CE9F25F5E6C}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\My Company Name\My Product Name\netidrive\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x0.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is test.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Your Company Name.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: INFO: Checking signature with catalog 'C:\Program Files\My Company Name\My Product Name\netidrive\idrive.cat' ...
DIFXAPP: ERROR: Signature verification failed while checking integrity of driver package 'netidrive.inf' ('C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.inf'). (Error code 0xE0000244.)
DIFXAPP: INFO: Successfully removed {DE886610-7E3F-4517-823E-1CE9F25F5E6C} from reference list of driver store entry
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000244)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.inf
DIFXAPP: InstallDriverPackages failed with error 0xE0000244
Action ended 10:26:25: InstallFinalize. Return value 3.

What am I doing wrong?

Regards,

Yehuda

0 Comments   [ + ] Show comments

Answers (8)

Posted by: brenthunter2005 17 years ago
Fifth Degree Brown Belt
0
From what I can read in that log above, the driver you are trying to install does not have a correct security catalogue file associated with it (eg: a 'filename.cat' file).

Don't quote me on this (because I think you can change the behaviour in the inf file), but the security catalogue file (.cat) needs to be the same name is the driver installation file (.inf).
Posted by: verti 17 years ago
Senior Yellow Belt
0
Thank you for your suggestion
Unfortunately it did not works :

DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {1EAE26FE-562E-4BF4-BB18-251D3D3224F8}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\My Company Name\My Product Name\netidrive\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x0.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is test.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Your Company Name.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: INFO: Checking signature with catalog 'C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.cat' ...
DIFXAPP: ERROR: Signature verification failed while checking integrity of driver package 'netidrive.inf' ('C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.inf'). (Error code 0xE0000244.)
DIFXAPP: INFO: Successfully removed {1EAE26FE-562E-4BF4-BB18-251D3D3224F8} from reference list of driver store entry
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000244)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.inf
DIFXAPP: InstallDriverPackages failed with error 0xE0000244
Posted by: brenthunter2005 17 years ago
Fifth Degree Brown Belt
0
Hello verti,

What I was trying to suggest is that the security catalogue file is not associated with the driver installation file. DIFXAPP inly works with signed drivers (i.e. a '.inf' file with an associated '.cat' file.)

Within the INF file, you should find a keyname called "CatalogFile". Ensure that the keyname value is the same as the security catalogue file (.cat), and both files install to the same folder.

Also, from the SDK:
Driver packages must be signed with a Microsoft Windows Hardware Quality Labs (WHQL) signature or a Microsoft Authenticode signature. Note, however, that DIFxApp can be configured in legacy mode to install unsigned driver packages on Windows 2000 and later. For more information about legacy mode, see Installing Unsigned Driver Packages in Legacy Mode.
http://msdn.microsoft.com/library/en-us/DevInst_d/hh/DevInst_d/difxapp_d11632aa-4074-4b8a-8e1c-ccf805f2629a.xml.asp?frame=true
Posted by: verti 17 years ago
Senior Yellow Belt
0
Hello,

Yes, I did wrote in my INF file CatalogFile=netidrive.cat .
I also set the Flags (in MsiDriverPackages table) with 8 (the correct value to install unsigned driver package) and failed with the following error:

DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {1EAE26FE-562E-4BF4-BB18-251D3D3224F8}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\My Company Name\My Product Name\netidrive\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x8.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is test.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Your Company Name.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: INFO: netidrive.inf: Skipping DFX signature verification.
DIFXAPP: INFO: Copying 'netidrive.inf' to driver store...
DIFXAPP: INFO: Copying 'netidrive.cat' to driver store...
DIFXAPP: INFO: installing network driver 'C:\WINDOWS\System32\DRVSTORE\netidrive_8918A54A222F2982A9EBA086860AF29CDD1F925C\netidrive.inf'
DIFXAPP: ERROR: Error 0x800F0102 encountered while installing the inf 'C:\WINDOWS\System32\DRVSTORE\netidrive_8918A54A222F2982A9EBA086860AF29CDD1F925C\netidrive.inf'. Unable to install network component 'InterDrive'
DIFXAPP: ERROR: Failed to install the network driver INF C:\WINDOWS\System32\DRVSTORE\netidrive_8918A54A222F2982A9EBA086860AF29CDD1F925C\netidrive.inf. Error code 0x643
DIFXAPP: ERROR: The driver installation failed. Attempting to undo system changes ... (Error code 0x643: Fatal error during installation.)
DIFXAPP: INFO: Successfully removed {1EAE26FE-562E-4BF4-BB18-251D3D3224F8} from reference list of driver store entry
DIFXAPP: INFO: Driver Store entry removed.
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x643)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\My Company Name\My Product Name\netidrive\netidrive.inf
DIFXAPP: InstallDriverPackages failed with error 0x643
Posted by: spartacus 17 years ago
Black Belt
0
I note that the error code reported in your base note was 0xE0000244. This translates as

ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH

The certificate is not valid for the current Windows version or it is expired.

So, probably an obvious question, but is the driver you are trying to install definitely the correct one for the target OS platform ?

If it isn't, it could account for why there are problems installing it in DIFx legacy mode as well ...


Regards,

Spartacus
Posted by: brenthunter2005 17 years ago
Fifth Degree Brown Belt
0
touché!
Posted by: Mayur 17 years ago
Senior Yellow Belt
0
Hi,

I think your driver is not signed drivers......diffx installs only signed drivers......have you checked with dpinst first whether driver is signed or not?


mayur
Posted by: nmi 17 years ago
Orange Belt
0
The latest Driver Installation Tools will install unsigned drivers if you set the legacy-mode flag appropriately.

nmi
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ