Questions tagged [inf]

For questions relating to the INF Windows file format.

Link to the wikipedia page.

190 questions
4
votes
4 answers

Min and Max across multiple columns with NAs

For the following sample data dat, is there a way to calculate min and max while handling NAs. My input is: dat <- read.table(text = "ID Name PM TP2 Sigma 1 Tim 1 2 3 2 …
Sandy
  • 1,100
  • 10
  • 18
4
votes
0 answers

How can I prevent "Eject " appearing after installing a WinUSB-based device?

Summary I'm developing an installer for an application that involves installing a USB device based on WinUSB. Everything works except for an annoying issue in which the USB device shows up in the notification pane after installation with the option…
Tagc
  • 8,736
  • 7
  • 61
  • 114
4
votes
1 answer

Estimate ratio of two gamma functions when individual functions return inf value

I'm estimating the ratio of two gamma functions. Both estimates for gamma(x) and gamma(y) are very large ( > 10^300) but the ratio of the two should be fairly small. from scipy.special import gamma gamma(x) / gamma(y) Unfortunately, there is a…
user3439329
  • 851
  • 4
  • 10
  • 24
4
votes
0 answers

Install driver without plugging in device

I'm trying to install some unsigned legacy drivers to my computer from command line. I have used dpinst.exe and installhinfsection functions which work fine, however everything I've tried is software first, meaning it installs the driver onto your…
conterio
  • 1,087
  • 2
  • 12
  • 25
4
votes
1 answer

Virtual printer driver INF configuration for v4 print drives

I am trying to create virtual print driver with WDK and print driver v4. I want to have virtual printer installed in system, display my own UI when printing - in ideal case a .NET win or wpf form. In the end, virtual printer will contact web service…
Jan Novák
  • 574
  • 3
  • 21
4
votes
3 answers

Install inf driver with VBScript on Windows 7

I am trying to write a VBS script that install an USB/Ethernet adapter on Windows 7. I've got a .INF file for this device. I first tried: Dim WshShell, res Set WshShell = WScript.CreateObject("WScript.Shell") res =…
Maxbester
  • 2,435
  • 7
  • 42
  • 70
3
votes
1 answer

.INF files and NCF_HAS_UI: how to write .dll for displaying advanced properties tab of network driver?

I have a NDIS driver, which gets listed both in connection properties's installed items list and in device manager; the question is, how do I write an extension which will be used for managing driver's properties, and how to install it? Of course, a…
kagali-san
  • 2,964
  • 7
  • 48
  • 87
3
votes
1 answer

Seaborn pairplot() error, OptionError: "No such keys(s): 'mode.use_inf_as_null'", any idea?

I am thrown an error when I am trying to apply searbor pairplot. My full script is easy, and is copied as follows: import seaborn as sns import pandas as pd import numpy as np # Creating a sample DataFrame data = { 'A': np.random.randn(100), …
yts61
  • 1,142
  • 2
  • 20
  • 33
3
votes
0 answers

Inf file PreCopySection

I have found [PreCopySection] section in some inf files. Often it ha only the following content: [PreCopySection] HKR,,NoSetupUI,,1 I tried to find any documentation on it using MSDN and Google with no luck. The file doesn't contain any other…
Unicorn
  • 1,397
  • 1
  • 15
  • 24
3
votes
1 answer

How to install WinUSB driver through customized inf file on Windows 10?

I need to communicate with a simple custom device directly through USB. I have full specifications for communication protocol. Unfortunately, the device vendor did not provide WinUSB driver for the device. According…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
3
votes
1 answer

Writing a UMDF virtual device driver (or software device) like Virtual DVD

I have an "off the shelf" commercial software using an ANT USB dongle to communicate with a cycling trainer. My trainer is not compatible with the software because the protocol is slightly different (not a lot). My goal is to write a protocol…
3
votes
1 answer

CopyFiles not working in INF files

I've created this xxx.inf file and placed a Sample.exe alongside the same directory. [Version] Signature=$CHICAGO$ [DestinationDirs] SampleCopy = c:\\Sample [DefaultInstall] CopyFiles = SampleCopy [SampleCopy] sample.exe I tried to…
daisy
  • 22,498
  • 29
  • 129
  • 265
3
votes
1 answer

Matlab Unexpected Result/Error? Replacing zeros in array with Inf

I'm getting an unexpected result from Matlab and I have no idea why. My goal is to replace values less than or equal to zero with Inf. Here is the correct result of what I expect should happen: C = [0 0 0 0 0 1 1 1 1 1 1]; C(C<=0)=Inf C = Inf Inf…
agnuke
  • 55
  • 1
  • 2
  • 7
3
votes
1 answer

Installing a driver in NSIS script

I'm trying to create an NSIS installer that installs an inf file. The inf file is extracted from the installer to the correct place, and then I use: nsExec::ExecToLog '"$SYSDIR\PnPutil.exe" /a "$INSTDIR\driver\xser.inf"' However, the command does…
avishorp
  • 3,671
  • 3
  • 18
  • 19
3
votes
2 answers

Installing file system minifilter from INF launched from debug

I am working on my first file system mini-filter. I am using the SwapBuffers sample project in the WDK. I have successfully compiled and deployed this project to a VM from a physical laptop. But the installation from the INF file is failing. I…
Kent
  • 1,691
  • 4
  • 19
  • 27
1
2
3
12 13