Questions tagged [inf]

For questions relating to the INF Windows file format.

Link to the wikipedia page.

190 questions
1
vote
1 answer

inf ServiceBinary - quote path with spaces

I have a .inf file for installing a service. The path of the installation contains spaces. I want to quote them, for avoiding security issues. Currently, the inf has these lines: ServiceBinary = %10%\path\with sub folder that contains…
RK Coder
  • 398
  • 2
  • 14
1
vote
1 answer

Change Printer preferences / Driver Settings in C#

I am trying to print an existing XPS file in GrayScale . I tried to add a PrintTicket inside the XPS file, and also tried to change the PrintQueue property of the printer , like : LocalPrintServer server = new …
1
vote
1 answer

Run Wix MSI installation in WinpE

I created an MSI using Wix. The msi contains a driver INF and Windows DPinst.exe. Now I am trying to run the msi in Winpe to update the driver. How can I create an msi that can run in Winpe environment using Wix? I used Wix V3
user4024419
1
vote
0 answers

VerifyTrustFailed for C:\Windows\system32\WdfCoInstaller01011.dll

from setupapi.dev.log ! sig: VerifyTrustFailed for C:\Windows\system32\WinUsbCoInstaller2.dll. ! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not…
megabite
  • 29
  • 3
1
vote
2 answers

Cant remove oem.inf

I am trying to remove a USB controller, but I am facing the following problem: I opened a windows console as administrator and run pnputil -e to get the complete list of controllers installed The controller I want to uninstall showed up as…
cventu
  • 255
  • 1
  • 5
  • 13
1
vote
1 answer

inf2cat driver signing for Windows 10 Enterprise?

I can sign driver files just fine for everything but Windows 10 Enterprise. 10_X86, server, and X64 don't seem to be working on Enterprise. Does it have a specific code to use? Thanks in advance!
coolestDisplayName
  • 161
  • 1
  • 2
  • 9
1
vote
1 answer

How to update the libusb driver using the INF file on device manager

I am developing a program for communicate between device and pc with libusbdotnet dll.The device uses CDC(Communication Device Class) in USB classes. I created an INF file from libusbdotnet inf wizard. And I updated driver with inf files on device…
V.O.D
  • 11
  • 3
1
vote
0 answers

finalize driver install via PnPUtil without restart on windows 10

I'm installing some audio drivers using PnPUtil to Windows 10: pnputil -a ./installaudiodriver.inf /install I run a batch file via powershell, installing 5 INFs. a couple of the INFs include files copy to %windir%\system32 folder. Problem: I…
Ido A
  • 87
  • 1
  • 1
  • 8
1
vote
0 answers

USB serial interface problems with Windows 10

I'm using an embedded device (bare metal program running on it) which is connected via USB and appears as serial interface on an connected host PC. This works perfectly with all tested Linux variants and all Windows up to Win 7. Unfortunately with…
Elmi
  • 5,899
  • 15
  • 72
  • 143
1
vote
1 answer

inf file without PID for multiple products under same VID

I'm trying to create a "generic" Windows USB driver (really just an .inf-file) that could be used for several products under the same manufacturers. What I would like to do is to only list the Vendor IDs (VID) for the different manufactures so that…
fhilip
  • 11
  • 2
1
vote
1 answer

Why does $KMDFCOINSTALLERVERSION$ evaluate to semicolon?

The Context This question is related to the RAMDisk Storage Driver Sample, but also applies to the Toaster Sample Driver, and may even apply to any driver that make use of .INX files and CoInstallers. My original question was "Why am I missing the…
tchau.dev
  • 903
  • 1
  • 11
  • 30
1
vote
1 answer

Display HTML file in browser when an EXE file is executed

I have found a lot of answers on how to do the exact opposite of what I'm looking to do, but nothing really on what I'm trying to do. I have an EXE file that I want to use to open an HTML file in the user's browser as soon as it is executed. I have…
ScottD
  • 582
  • 3
  • 9
  • 24
1
vote
2 answers

Installing INF file during Installation via MSI Installers through Custom Action

I have a visual studio setupproject to install my kernel driver "mydriver". When I right click and install my driver it is installing from inf file. Now I wanted to do similar kind of action from custom action. Using standard action in setup…
1
vote
1 answer

USB inf file can not pass the signature validation

I'm trying to sign my USB INF file by Inf2Cat.exe command, but the signing result is always fail. The fail reason as below Errors: 22.9.10: usbser.sys in [virtualcomcopyfilesection] is missing from [SourceDisksFiles] section in…
LayaCCC
  • 415
  • 1
  • 5
  • 12
1
vote
1 answer

Loading a Windows Driver Class other than NetService to act as an NDIS Filter

Is it possible to take a Windows driver such as a Ports class driver, then have it also set itself up as an NDIS filter (NetService class) driver by calling NdisFRegisterFilterDriver() in it's DriverEntry()? This would be essentially having the…
Preston
  • 2,543
  • 1
  • 17
  • 26