inf

Trouble installing custom inf in Windows 10 Professional. Windows overrides it with OEM driver

拈花ヽ惹草 提交于 2019-12-10 16:54:29
问题 I have made a signed USB Serial inf file for a custom device and created an installer that successfully installs the driver to Windows 7 (32/64), Windows 8.1 (64) but not Windows 10. This applies to the default installation (right-click, install) directly on the file, using Device Manager and using PNPUTIL. The device driver successfully installs but the OEM usbser driver is used instead. After clicking "Update Driver" and selecting my driver in Device Manager, Windows prompts me with "The

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

為{幸葍}努か 提交于 2019-12-10 11:33:31
问题 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 plain GUI program may communicate with the driver, set properties, get version numbers and other statistical info etc, that's what DeviceIoControl exists for; but, does this means that no dedicated interface exists to inform the driver about

Equivalent of “Scan For Hardware Changes” in device manager doesn't work after failed installation

血红的双手。 提交于 2019-12-08 11:10:52
问题 According to the docs the C++ functions CM_Locate_DevNodeA and CM_Reenumerate_DevNode of CfgMgr32.dll should be the programatical equivalant to the menu item scan for changed hardware in the device manager. See 2nd answer to this question for managed code in C#. But in contrary to the docs, the programmatical approach doesn't work always, when the Device manager operation works. This is my case: User already plugged in the USB device No driver found My installer adds the right INF-File into

Inno Setup - How to read an INF file during the Setup

血红的双手。 提交于 2019-12-07 05:15:13
问题 i need to know how to read a value from INF file [.inf], during the setup. I want the installer to check the version of the program that i am going to update, This program version is not stored in the registry or any other file, is only in the .inf file. Then is a must to get the version from it. I got your answers, @Tlama and i cannot use a DLL to get version of the software. This program only save the current version in the INF file. What i want to do, is to make the installer to check the

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

孤者浪人 提交于 2019-12-06 13:30:00
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 plain GUI program may communicate with the driver, set properties, get version numbers and other statistical info etc, that's what DeviceIoControl exists for; but, does this means that no dedicated interface exists to inform the driver about configuration changes? It would be pleasant if someone can forward this question to eggheadcafe/osr's ntdev

Installing file system minifilter from INF launched from debug

落爺英雄遲暮 提交于 2019-12-06 08:24:02
问题 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 looked in the log file in C:\DriverTest\Logs on the target machine and found these lines in the log file. UserText="WDTF_TARGETS: Query("HardwareIDs='WDTF\NOEXIST'")" UserText="WDTF_DRIVER_SETUP_SYSTEM: CreateRootEnumeratedDevicesFromPackage()

INF file for HID device - setting name and icon

家住魔仙堡 提交于 2019-12-06 02:55:06
问题 I'm looking to create an inf file for a HID device (which has a custom VID/PID). I just want to replace the strings "HID-compliant device" and "USB Input Device" for our device with our strings. I know this will need signing by Microsoft, but is there a good example of how to do this? 回答1: Example of custom HID INF file on MSDN may help you 来源: https://stackoverflow.com/questions/19401162/inf-file-for-hid-device-setting-name-and-icon

Inno Setup - How to read an INF file during the Setup

ぃ、小莉子 提交于 2019-12-05 09:14:20
i need to know how to read a value from INF file [.inf], during the setup. I want the installer to check the version of the program that i am going to update, This program version is not stored in the registry or any other file, is only in the .inf file. Then is a must to get the version from it. I got your answers, @Tlama and i cannot use a DLL to get version of the software. This program only save the current version in the INF file. What i want to do, is to make the installer to check the current versión of the software that i am working with, and display that version in a label text. The

Can .inf file reference a built-in driver such that it won't give warning during installation?

眉间皱痕 提交于 2019-12-04 16:58:13
Our device relies on a built-in windows driver (usbser.sys). Do we still need to go through WHQL testing or can we install in such a way that the user won't see a warning about not passing Logo testing? I found http://support.microsoft.com/kb/837637 but it's not clear to me if this will do what I want. Does it matter whether I use DPInst program or have my own program that calls DriverPackagePreinstall? [Edit: changed "Our code" to "Our device" based on comment] Ilya You don't need to sign usbser.sys (KMCS) but you still need to sign your .inf, because the matching of usbser.sys to your

Install the libusb driver using the INF file with C#

天涯浪子 提交于 2019-12-04 13:57:47
问题 I want to install a third-party libusb driver during a Windows Setup installation. I created this installation with Visual Studio 2010. I have tried installing this driver through the command line using SetupAPI and DifXAPI, but nothing happens. I expect a window to popup stating that it is an unsigned driver, and you have to click OK to continue. The only way I have got this window to popup is if I used a C# console application and P/Invoke to call the driver install code from DifXApi