Problems with debug on Visio Studio driver inf file for Windows 11 - BixVReader

G-TRANSPORT.EU 0 Reputation points
2024-06-30T19:42:29.9233333+00:00

I can't finish the debug of inf file because i get 3 errors:

Service binary 'C:\WINDOWS\System32\drivers\WUDFRd.sys' should reference a CopyFiles destination file. BixVReader C:\vsmartcard\virtualsmartcard\win32\BixVReader\BixVReader.inf 29

UmdfLibraryVersion directive has invalid value "$UMDFVERSION$". BixVReader C:\vsmartcard\virtualsmartcard\win32\BixVReader\BixVReader.inf 47

Found legacy AddReg operation defining co-installers (CoInstallers32). BixVReader C:\vsmartcard\virtualsmartcard\win32\BixVReader\BixVReader.inf 61

I want that the driver work in my Windows11 Pro 22631.3810

The file:

; ; BixVReader.inf ;

[Version] Signature="$Windows NT$" Class=SmartCardReader ClassGuid={50dd5230-ba8a-11d1-bf5d-0000f805f530} Provider=%ManufacturerName% CatalogFile=BixVReader.cat DriverVer= ; is set via stampinf PnpLockDown=1

[Manufacturer] %ManufacturerName%=Standard,NT$ARCH$

[Standard.NT$ARCH$] %DeviceName%=VReader_Install,root\BixVirtualReader

[SourceDisksFiles] BixVReader.dll=1 WudfUpdate_$UMDFCOINSTALLERVERSION$.dll=1

[SourceDisksNames] 1 = %DiskName%

; =================== UMDF Device ==================================

[VReader_Install.NT] CopyFiles=UMDriverCopy

[VReader_Install.NT.hw]

[VReader_Install.NT.Services] AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[VReader_Install.NT.CoInstallers] CopyFiles=CoInstallers_CopyFiles AddReg=CoInstallers_AddReg

[VReader_Install.NT.Wdf] UmdfService=BixVReader,BixVReader_Install UmdfServiceOrder=BixVReader UmdfKernelModeClientPolicy=AllowKernelModeClients

[BixVReader_Install] UmdfLibraryVersion=$UMDFVERSION$ ServiceBinary=%12%\UMDF\BixVReader.dll DriverCLSID={A44A2DF4-DCA4-4767-8EC4-86FE611C2EA7}

[WUDFRD_ServiceInstall] DisplayName = %WudfRdDisplayName% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\WUDFRd.sys

[CoInstallers_CopyFiles] WudfUpdate_$UMDFCOINSTALLERVERSION$.dll

[CoInstallers_AddReg] HKR,,CoInstallers32,0x00010000,"WudfUpdate_$UMDFCOINSTALLERVERSION$.dll"

[DestinationDirs] UMDriverCopy=12,UMDF ; copy to drivers\umdf CoInstallers_CopyFiles=11

[UMDriverCopy] BixVReader.dll

; =================== Generic ==================================

[Strings] ManufacturerName="" ;TODO: Replace with your manufacturer name DiskName = "BixVReader Installation Disk" WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector" DeviceName="Bix Virtual Smart Card Reader"

PLease someone help - what muss i do change in the file to debug it corectly?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,917 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
52 questions
{count} votes