For questions relating to the INF Windows file format.
Questions tagged [inf]
190 questions
1
vote
1 answer
Windows INF files for multiple platforms and OS's
I am trying to create a Windows INF file to install a driver that can work with 32- or 64-bit Windows 7 or Windows 8. I have 4 different .SYS files, all with the same name, one for each situation. In my distribution I've created 4 directories,…

StanBell
- 51
- 2
1
vote
1 answer
Install inf file but 'Found New Hardware" wizard still wants driver
I wonder if someone could point to me the right direction as this inf problem has been troubling me for a while.
I am using ClickOnce installer to install a prerequisite component.
I'd written a boostrapper package that unconditionally downloads a…

user1687864
- 13
- 5
1
vote
1 answer
Windows driver hardware id
I'm doing some displaying staff using C# and WMI.
I found the HardwareID in Device manager are different from those i found in inf file.
e.g.
Here i found in Inf file:
[Manufacturer]
%KMDName% = KMD.Mfg
[KMD.Mfg]
"Intel(R) Graphics Media…

MagicTracy
- 35
- 8
1
vote
2 answers
How to define Windows driver name?
I am trying to define the name of my driver as it appears when it is being installed as flagged by UAC.
Here is an image of the issue:
I cannot figure out how to change the name of this parameter, and I do not know where it is coming from. I want…

James
- 2,458
- 3
- 26
- 50
0
votes
1 answer
.INF files, any way to take pre-removal actions?
It is wanted to catch a driver removal event within .INF (by having it to call custom dll/exe via some directive), neither by driver itself nor by userspace watchdog application.
Any hints on that?
UPD: seems that it can be somehow accomplished with…

kagali-san
- 2,964
- 7
- 48
- 87
0
votes
0 answers
Fixing copyfiles from folder on inf file
I'm trying to verify and create a catalog for an inf file. It was already done in the past, but now I'm trying to make a few improvements. Important detail is, the files on wow64 are on 32 bits version, which are important for the program also.
So,…

Manuninho
- 31
- 1
- 6
0
votes
0 answers
Do drivers INF signed using self made certificates really dont work unless i go into testsigning mode on my windows?
im sorry if this sounds stupid,
I discovered this PS2 Eyetoy driver online that someone created to use the eyetoy as a webcam on my PC, it works if i install the driver and go to testsigning mode on my windows 10, but i really want to use it with…

Raffy
- 13
- 3
0
votes
1 answer
C# install Cursor installer (.inf) file
I have a cursor installer file (installer.inf). Is it possible to install the cursor using C#?
I already tried the following code but it doesn't work and nothing happens when getting executed:
[DllImport("Setupapi.dll", EntryPoint =…

Der_Floh
- 129
- 10
0
votes
0 answers
Can INF files be used as installer programs?
Can INF files be used as installer programs? While INFs are mostly used for drivers, they can be used to create registry keys and copy files to certain locations. It would make sense that they can also be used as installers? Is there anything…

ARGYROU MINAS
- 121
- 6
0
votes
0 answers
Error 1321 in INF when compiling Windows Driver KMDF
It's been a long time I haven't developed drivers on Windows, that dates back to Windows XP.
At the time, I had done one based on DiskPerf.
Fast forward to today, and I'd like to develop a driver for Windows 10/11. Diskperf again seems like a nice…

user1532080
- 243
- 2
- 11
0
votes
0 answers
Bogus printer driver
I have a need to deploy a 'bogus' printer driver with customizable resolution. That is - no driver needed and it will never be called either. It is just that Windows will 'think' that it has a printer installed with a configurable resolution.
Most…

Michael
- 11
- 2
0
votes
0 answers
How to pass relative path to strings in Self-Extraction Directive file?
I’m using IExpress to create a self-extracting / self-installing package (.EXE) and a Self-Extraction Directive file (.SED).
When moving the files from a test environment to a production one, I’ve noticed that the strings TargetName (target path and…

Kanuc
- 25
- 6
0
votes
0 answers
Error: RWI 00313 Error: INF When Assigning Reference
I have created a column in business objects that gives the count of information a column in which I used Concatenate to merge two numbers to create a unique number. When I assign reference to this column, so that I can then edit the formula for the…
0
votes
0 answers
Multiplication returning inf in Python
My below function call is returning tensor of infs.
def regression(my_x, my_m, my_b):
return my_m*my_x + my_b
my_x is a Pytorch tensor.
I think it is returning inf as it is crossing limit of float .
how can I instruct multiplication operator to…

Pritesh
- 1,938
- 7
- 32
- 46
0
votes
1 answer
Infverif.exe error when copying files with the same name from different subfolders
I have a driver which contains some files with the same name in several subfolders:
zh-hans\resources.dll
zh-hant\resources.dll
I want to copy those files into their dedicated subfolders.
To do so, I was expecting to do this kind of stuff in my…

Emmanuel Horrent
- 71
- 2