Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9010

Is this OEM section in an .inf driver file a bug?

$
0
0

I can't seem to find the driver name. Instead of specifying the name, this .inf seems to specify;

[Manufacturer]%OEM%=OEM,NTx86,NTamd64[OEM.NTx86]%PRINTER1%=INSTALL_SECTION,USBPRINT\HPHP_Color_LaserJet_4596%PRINTER1%=INSTALL_SECTION,WSDPRINT\HPHP_Color_LaserJet_4596%PRINTER1%=INSTALL_SECTION,HPHP_Color_LaserJet_4596%PRINTER1%=INSTALL_SECTION,MF\Color_LaserJet_Pro_M453-4&WSD&IP_PRINT

Is this a bug where some placeholder was not changed to what the driver should be called? If not, how do I obtain the driver name? It's obviously not %PRINTER1%

Automated installation, installers, and semi-manual installation have failed me for this printer on one computer (probably because there's something wrong with the drivers), so I went with manual powershell. I haven't ever had to detangle this weird and wonderful file format, so I wonder if someone could shed some light on this?

All the code/examples just say 'yeah just grab the name from the .inf file'. So, where and how, exactly? I can think of 400,000 ways to grab a 'name' (which honestly can be any valid string) from this 20kB file.


Viewing all articles
Browse latest Browse all 9010

Trending Articles