How get cat file for upper class driver (Inf2cat failed)

Hello ,
I developed filter class driver for SmartCardReader and this driver works properly on X86 platform.
(In this case install program set need registry and copy driver system32\drivers directory)
For X64 platform I need use for installation inf and cat files;
The same inf file I use on XP and installation works OK.(right click on inf file)
The my inf file has the same structure as WInDDK sample :
…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf

But I cannot get .cat file from my inf file or from ClassAFilterDriver.inf for all platform (X86 and X64)and get same error.
For example:
Inf2Cat /driver: c:\MyPath /os:XP_86 /verbose
Return :

Finished parsing INFs
Finished processing INFs
Testing driver package …

Signability test failed.
Errors:
No installation INF found in the root path of the driver.

May be I have problem in understanding and ask to help me to solve this problem.
How was produced …\src\setup\DIFxPkgs\x86\ClsFilt \classfilter.cat

My inf file:

[Version]
Signature = “$WINDOWS NT$”
Provider = %AR%
;CatalogFile = ClassFilter.cat
DriverPackageType = ClassFilter

[DefaultInstall.NT]
CopyFiles = ClassFilterInstall.CopyFiles
Addreg = Classfilter.AddReg

[ClassFilterInstall.CopyFiles]
ArScFilter.sys

[Classfilter.AddReg]
HKLM, System\CurrentControlSet\Control\Class{50DD5230-BA8A-11D1-BF5D-0000F805F530}, UpperFilters, 0x00010008, ArScFilter

[DefaultInstall.NT.Services]
AddService = ArScFilter,arx_ClassFilterUpperService

[arx_ClassFilterUpperService]
DisplayName = arx_ClassUpperFilterService
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\ArScFilter.sys

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1=%Disk1%,

[SourceDisksFiles]
ArScFilter.sys = 1

[Strings]
Disk1 = “The First Disk”
AR = “ARX Ltd.”

Thanks in advance
Best Regards
Mark

Mark Shnaider |Senior Software engineer | ARX
phone: +972.3.9279543 | mobile: +972.54.2448543 | email: xxxxx@arx.commailto:xxxxx | www.arx.comhttp:</http:></mailto:xxxxx>

The diagnostic says:

“No installation INF found in the root path of the driver.”

Is there an INF file located in the same directory as your driver?

Peter
OSR

Mark Shnaider wrote:

My inf file:

[Version]

Signature = “$WINDOWS NT$”

Provider = %AR%

;CatalogFile = ClassFilter.cat

DriverPackageType = ClassFilter

You cannot have the CatalogFile line commented out if you plan to make a
CAT file.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hello,
You right ,but I made mistake only in the e-mail.
INF file contain string
CatalogFile = ClassFilter.cat
But the same error I get if run Inf2cat for DDK sample:
Inf2Cat /driver:c:.…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf /os:XP_86 /verbose
Thanks for any help
Best regards
Mark
Mark Shnaider |Senior Software engineer | ARX
phone: +972.3.9279543 | mobile: +972.54.2448543 | email: xxxxx@arx.com | www.arx.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, October 02, 2013 10:23 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How get cat file for upper class driver (Inf2cat failed)

Mark Shnaider wrote:

My inf file:

[Version]

Signature = “$WINDOWS NT$”

Provider = %AR%

;CatalogFile = ClassFilter.cat

DriverPackageType = ClassFilter

You cannot have the CatalogFile line commented out if you plan to make a CAT file.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hello ,
I developed filter class driver for SmartCardReader and this driver works properly on X86 platform.
(In this case install program set need registry and copy driver system32\drivers directory)
For X64 platform I need use for installation inf and cat files;
The same inf file I use on XP and installation works OK.(right click on inf file)
The my inf file has the same structure as WInDDK sample :
…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf

But I cannot get .cat file from my inf file or from ClassAFilterDriver.inf for all platform (X86 and X64)and get same error.
For example:
Inf2Cat /driver: c:\MyPath /os:XP_86 /verbose
Return :

Finished parsing INFs
Finished processing INFs
Testing driver package …

Signability test failed.
Errors:
No installation INF found in the root path of the driver.

May be I have problem in understanding and ask to help me to solve this problem.
How was produced …\src\setup\DIFxPkgs\x86\ClsFilt \classfilter.cat

My inf file:

[Version]
Signature = “$WINDOWS NT$”
CatalogFile = ClassFilter.cat
DriverPackageType = ClassFilter

[DefaultInstall.NT]
CopyFiles = ClassFilterInstall.CopyFiles
Addreg = Classfilter.AddReg

[ClassFilterInstall.CopyFiles]
ArScFilter.sys

[Classfilter.AddReg]
HKLM, System\CurrentControlSet\Control\Class{50DD5230-BA8A-11D1-BF5D-0000F805F530}, UpperFilters, 0x00010008, ArScFilter

[DefaultInstall.NT.Services]
AddService = ArScFilter,arx_ClassFilterUpperService

[arx_ClassFilterUpperService]
DisplayName = arx_ClassUpperFilterService
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\ArScFilter.sys

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1=%Disk1%,

[SourceDisksFiles]
ArScFilter.sys = 1

[Strings]
Disk1 = “The First Disk”
AR = “ARX Ltd.”


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Hello,
The inf and sys file located in the same directory.
I get the same if run Inf2cat for DDK class filter driver sample:

Inf2Cat /driver:c:.…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf /os:XP_86 /verbose

(For other my drivers I get cat file without any problem)

Thanks for any help

Best regards
Mark

Mark Shnaider |Senior Software engineer | ARX
phone: +972.3.9279543 | mobile: +972.54.2448543 | email: xxxxx@arx.com | www.arx.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Wednesday, October 02, 2013 9:56 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How get cat file for upper class driver (Inf2cat failed)

The diagnostic says:

“No installation INF found in the root path of the driver.”

Is there an INF file located in the same directory as your driver?

Peter
OSR


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Hello ,
Tim,thanks,
You are right ,but I made mistake only in the e-mail.
INF file contains string
CatalogFile = ClassFilter.cat

But the same error I get if run Inf2cat for DDK class filter driver sample:

Inf2Cat /driver:c:.…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf /os:XP_86 /verbose

Thanks for any help

Best regards Mark Mark Shnaider |Senior Software engineer | ARX
phone: +972.3.9279543 | mobile: +972.54.2448543 | email: xxxxx@arx.com | www.arx.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, October 02, 2013 10:23 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How get cat file for upper class driver (Inf2cat failed)

Mark Shnaider wrote:

My inf file:

[Version]

Signature = “$WINDOWS NT$”

Provider = %AR%

;CatalogFile = ClassFilter.cat

DriverPackageType = ClassFilter

You cannot have the CatalogFile line commented out if you plan to make a CAT file.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

This works for me:

inf2cat /driver:objchk_wnet_amd64\amd64\ /os:Vista_x64


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

Mark Shnaider wrote:

Hello,
The inf and sys file located in the same directory.
I get the same if run Inf2cat for DDK class filter driver sample:

Inf2Cat /driver:c:.…\src\setup\DIFxPkgs\x86\ClsFilt\ClassAFilterDriver.inf /os:XP_86 /verbose

The /driver parameter is used to specify the DIRECTORY containing the
INF, not the name of the INF file itself. A single CAT file can cover
multiple INF files and multiple drivers.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.