DIFXAPP: ERROR: Failed to calculate strong name from - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rsdavis
Posts: 5
Joined: Sat Apr 29, 2006 7:37 pm

DIFXAPP: ERROR: Failed to calculate strong name from

I have built an installer that contains one USB driver. The files are called:
FtrUSB.inf
FtrUSB.cat
FtrUSB.sys

I added the driver and ran package with run and log and it fails with following below. What is the problem with the driver that it can not find the CAT file.

DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: ERROR: Failed to calculate strong name from 'C:\Program Files\EWA-GSI\Phoenix FPScan\FtrUSB.cat'. Check if catalog is valid and if file is in the same directory as the INF. (Error code 0x80092009: Cannot find the requested object.)
DIFXAPP: INFO: Successfully removed {937180A6-0AE7-41E7-B747-B4C12AD8816E} from reference list of driver store entry
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000304)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\EWA-GSI\Phoenix FPScan\FtrUSB.inf
DIFXAPP: InstallDriverPackages failed with error 0xE0000304
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

From the log I see that DIFX complains about the CAT file was not found. So please make sure that the CAT file resides in the same folder with the INF file (in the AI "Files and Folders" page).

To ensure that the driver files are setup together in the same folder, use the "Driver..." wizard ("Wizards" main menu). Using the wizard all driver files are automatically detected when you browse for the INF file.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
rsdavis
Posts: 5
Joined: Sat Apr 29, 2006 7:37 pm

I have used the driver wizard but I still receive the same message. I did check the .CAT file and it contains one text comment that this is a dummy CAT file until WHQL. So the CAT file is only a placeholder with only one text line that states that it is a dummy file. Could this be the problem.
I have tried both manually adding the INF and CAT as well as driver wizard and I still receive the same result.
Could the INF file be pointing to some other directory than where I have placed it which is in the same directory as the INF. I even put the INF, CAT, and SYS files under the APPDIR and still had the same problem. I am using version 5.1.1.
I could send the INF, CAT, and SYS files to you if that would help.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
So the CAT file is only a placeholder with only one text line that states that it is a dummy file. Could this be the problem.
Yes, this is the problem. But I don't understand. If the CAT file is only a dummy one then why do you referee it in the INF file?

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
rsdavis
Posts: 5
Joined: Sat Apr 29, 2006 7:37 pm

Driver Files INF and CAT that cause my problem are INLINE

I did not write the driver. Some other company wrote it. The SYS files is binary and I did not include but the INF and CAT file are below. If I right Click on the INF file from Windows Explorer and Select 'Install' the driver installs fine I just need this to happen with Advanced Installer.

I have also seen dummy CAT files for other drivers that I have used as well. I have a USB barcode scanner that has one comment in the CAT file stating that it is a dummy CAT file.

I believe Advanced Installer should probably handle this. It appears as if the INF file needs to reference a CAT file even if it is a dummy. I think the CAT file is filled in when Driver receives Windows compliance WHQL.
I am not a Windows Driver expert and I am just throwing out some thoughts on this. I bought Advanced Installer to handle drivers when I run into them as far as installing.

The INF File contains the following:
; FtrUSB.inf
;
; Copyright (c) Futronic Technology Company Ltd.
;

[Version]
Signature="$CHICAGO$"
Class=Biometric
ClassGUID={53D29EF7-377C-4D14-864B-EB3A85769359}
CatalogFile=FtrUSB.cat
LayoutFile=Layout.inf
Provider=%FTRUSB.Provider%
DriverVer=11/11/2004, 2.0.0.1

[Manufacturer]
%FTRUSB.Manufacturer%=FTRUSB

[ClassInstall32]
AddReg=FTRUSB.AddClassReg

[FTRUSB]
%FTRUSB.DeviceDesc%=FTRUSB.INSTALL, USB\VID_0834&PID_0020
%FTRUSB.DeviceDesc%=FTRUSB.INSTALL, USB\VID_1491&PID_0020

[SourceDisksNames]
1=%FTRUSB.DriverDiskName%,InstDisk,0

[SourceDisksFiles]
FTRUSB.sys=1

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
FTRUSB.CopyFiles = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS

[FTRUSB.INSTALL]
CopyFiles=FTRUSB.CopyFiles
AddReg=FTRUSB.AddRegLoader
AddReg=FTRUSB.AddReg

[FTRUSB.AddClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-21

[FTRUSB.AddRegLoader]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,FTRUSB.sys

[FTRUSB.AddReg]
HKR,Parameters,MaxTransferSize,0x00010001,1000
HKR,Parameters,Timeout,0x00010001,1F4

[FTRUSB.INSTALL.NT]
CopyFiles=FTRUSB.CopyFiles

[FTRUSB.INSTALL.NT.Services]
AddService = FTRUSB,0x00000002,FTRUSB_Service_Inst

[FTRUSB_Service_Inst]
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_AUTO_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\FTRUSB.sys
DisplayName = %FTRUSB.DeviceDesc%

[FTRUSB.CopyFiles]
FTRUSB.sys

[ControlFlags]
ExcludeFromSelect=*

[Strings]
FTRUSB.Provider="Futronic Technology Company Ltd."
FTRUSB.Manufacturer="Futronic Technology Company Ltd."
FTRUSB.DeviceDesc="Futronic USB Fingerprint Scanner Device"
ClassName="Personal identification devices"
FTRUSB.DriverDiskName="Futronic Drivers Installation Disk (Fingerprint Scanner)"

The CAT file contains the following:
Dummy catalog file. Replace with real one from WHQL.
rsdavis
Posts: 5
Joined: Sat Apr 29, 2006 7:37 pm

I fixed it.
I commented out the line in the INF that refers to the CAT file and it installs fine. Too obvious I guess. I just was not sure if the INF absolutely had to have a CAT file reference. Apparently not.
milindsm
Posts: 5
Joined: Thu Jan 07, 2010 8:03 am

Re: DIFXAPP: ERROR: Failed to calculate strong name from

Hey,

What Flags value did you specify in MsiDriverPackages table?? I am facing the same problem. I am trying to install mini-filter driver. I have .sys & .inf files. I created a dummy .cat file.

Cheers,
milindsm
milindsm
Posts: 5
Joined: Thu Jan 07, 2010 8:03 am

Re: DIFXAPP: ERROR: Failed to calculate strong name from

If I comment Catalog file entry from .INF file, it gives following error in the log file

Code: Select all

xxx.inf has no CatalogFile entry.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFXAPP: ERROR: Failed to calculate strong name from

Hello,

Please make sure that you have the "Install unsigned driver and driver packages that have missing files".

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
milindsm
Posts: 5
Joined: Thu Jan 07, 2010 8:03 am

Re: DIFXAPP: ERROR: Failed to calculate strong name from

Hey Gabriel,

Thanks a loooot!!!! It worked...!!!! :-)

Cheers,
milindsm

Return to “Common Problems”