How to edit Windows Driver details During installation?

Abhishek 0 Reputation points
2024-03-28T06:52:37.5966667+00:00

I am trying to customize some of the parameters of a Windows driver during its installation process by modifying the corresponding parameters.

Device/Driver Description

Provider

Display Name

Hardware ID

Here's an excerpt from the INF file I'm working with:

[Version]
Signature="$WINDOWS NT$"
Class=Media
ClassGuid={4d36e96c-e325-11ce-bfc1-08002be10318} 
Provider=%ManufacturerName%
CatalogFile=SampleAudioDriver.cat
DriverVer= 0.001
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
SampleAudioDriver.sys  = 1,

[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$

[Standard.NT$ARCH$]
%SampleAudioDriver.DeviceDesc%=SampleAudioDriver_Device, Root\SampleAudioDriver 

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="TestDrv"
DiskName = "SampleAudioDriver Installation Disk"
SampleAudioDriver.DeviceDesc = "SampleAudioDriver Device"
SampleAudioDriver.SVCDESC = "SampleAudioDriver Service"

I've explored using devcon.exe and pnputil to modify these details but haven't found a suitable solution.

Could someone please provide guidance on how to modify these driver parameters during installation? Any alternative tools, or approaches to achieve this?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,748 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,543 questions
0 comments No comments
{count} votes