For questions relating to the INF Windows file format.
Questions tagged [inf]
190 questions
0
votes
1 answer
Access is denied when trying to CustomDevice.FromIdAsync using a Software KMDF Driver
I have prepared a KMDF driver meant to be accessed by a UWP using the guidelines found within MSDN (HSA for Driver, HSA for UWP)
The UWP App I used is the CustomCapability example found under Universal Windows Samples
The KMDF is a sample driver…

Jer Yango
- 582
- 2
- 8
- 22
0
votes
1 answer
use devenv to build smart Smart Device CAB project with specified configuration
I have a Visual Studio 2008 solution with a Smart Device CAB project. I am working on automating the release process. I am using devenv to build the inf file that I use to build the CAB like this:
C:\programming\acs_reader2>"C:\Program Files…

still_dreaming_1
- 8,661
- 6
- 39
- 56
0
votes
2 answers
Can a Self Extracting Zip File read a registry entry?
I'm trying to get my website to talk to a friend's program. Think ITunes - one main program with hundreds of thousands of little things installed into it. We don't want to have to create an InstallShield install program for each of those hundreds of…

Andrea
- 37
- 5
0
votes
1 answer
What's the case of float division returning inf and finite value?
I have written this snippet of code and I cannot understand why this float division returns inf when args[2] = 200 and 5.0 when args[2] = 2000. Is this caused because I am exceeding some decimal position boundary?
#include
#include…

Giannis
- 75
- 9
0
votes
1 answer
how add INF printer file on RPI3B+ (NTarm) windows iot core
I user RPI3B+ (OS: Windows iot core 10 v10.0.17661.1001) and I want to add a USB Kiosk Printer (Brand: SNBC)
I changed the OS in .inf file to use NTarm according described in this link
and then add .inf file with devcon add command, oem0.inf…

Negar
- 866
- 2
- 10
- 20
0
votes
2 answers
Why am I getting INF when dividing small numbers in PHP
I have two tables in a database. Each have a column (varchar255) with a small number (0-30). I'm only trying to divide those two and this is the result:
If one column has the number 6,575 and the other 1,291 the equation should be 5,09. It outputs…

user3437098
- 29
- 6
0
votes
1 answer
Installing addon for IE11 via Powershell/CMD
I am writing a Powershell script that sets up new computers at my workplace. One of the things I am trying to do is install an Internet Explorer 11 addon that normally installs when a user first visits a particular website. Upon first visit, a popup…

GFC_
- 11
- 1
- 5
0
votes
1 answer
Convert INF(Installation Instructions)to EXE Installer
I have an INF file in which I have to right click to install the files - So I wanted to convert it into a EXE Installer which has a Progress Bar !!! So I just need all the files in ONE EXE file so when I double click it the installation starts…

Netguy
- 27
- 1
- 4
0
votes
1 answer
Windows Driver - Unable to sign my own driver correctly
I am very very beginner in windows driver development. I have written a simple DbgPrint() .sys driver.
After lots of search, I have found in x86 architecture, signing of .sys driver is optional but in x64 is mandatory.
So I have created a…

John
- 15
- 2
0
votes
0 answers
How to determine the right inf file for installation of printer driver
I'm writing a C++ Code to automate printer driver installation. I use the following functions to achieve installation from the inf file.
UploadPrinterDriverPackageA(NULL,infPath.c_str(),"Windows NT…

itzuvid
- 81
- 1
- 7
0
votes
0 answers
How to add registry entries while installing drivers
I made some changes to my camera driver inf and added few registry entries under [cameramodel_Device.AddReg] (this is after [cameramodel_Service_Inst] in the inf file).
But after installing this modified inf, I don't see the entries that added in…

Sarath Babu Dnv
- 3
- 3
0
votes
1 answer
Create HCK and HLK tests for .inf file drivers required?
We have an hardware device that is used by many customers. We support windows 7 - 10 OS's. With this device, a driver and software is included. The device is is built in China, they eventually use a Cypress USB driver. The .inf file can be found…

CularBytes
- 9,924
- 8
- 76
- 101
0
votes
0 answers
Inno Setup - installing inf and cat files
I am absolute beginner at creating installer so I found inno setup and created a installer with setup wizard. I can install my program successfully but I have to install my "inf" and "cat" and have no idea how to do it.
inf and cat file
I checked…

Anıl Özfuttu
- 1
- 4
0
votes
0 answers
Creating inf file for driver
I have an app which uses a kernel mode driver. I have the .sys file of this driver only and it's source code.
How can I create .inf file for driver also?

Egor K
- 31
- 4
0
votes
2 answers
Inf file can't find usbser.sys in Windows 7 only
UPDATE: Thanks to the answer below I managed to get this to work on Windows 7. I have since realized that Windows 10 installs but overrides my driver with the OEM USB Serial driver. Please see: Trouble installing custom inf in Windows 10…

Luke Allison
- 3,118
- 3
- 24
- 40