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
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.
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.
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.
;
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.
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.
FOLLOW US
Get the latest news in Application Packaging