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?