Skip to content

Drivers Config Examples

daemon.devin edited this page Aug 30, 2025 · 1 revision

USAGE

Add sections [Driver1], [Driver2] etc. to Launcher.ini

Driver Keys:

InfFile			-	Path to driver INF file (supports %PAL:* variables)
HardwareId		-	Hardware ID to match (optional, for targeted installation)
DriverName		-	Display name for the driver (auto-detected if not specified)
Architecture	-	x86, x64, or auto (auto-detect system architecture)
Signed			-	true/false (require digitally signed drivers)
IfExists		-	skip, backup, replace, update
Required		-	true/false (show error if installation fails)
ForceInstall	-	true/false (install even if no matching hardware found)
Timeout			-	Installation timeout in seconds (default: 60)
Category		-	Driver category (Display, Network, USB, etc.) - informational
Version			-	Expected driver version (for validation)
Publisher		-	Expected driver publisher/vendor

Hardware ID Examples:

- USB\VID_1234&PID_5678
- PCI\VEN_8086&DEV_1234
- ROOT\SYSTEM (for system/software drivers)

EXAMPLE

[Driver1]
InfFile=%PAL:AppDir%\Drivers\mydevice.inf
HardwareId=USB\VID_1234&PID_5678
DriverName=My Custom USB Device
Architecture=x64
Signed=true
IfExists=update
Required=true
ForceInstall=false
Category=USB

Real-World Examples

Example 1: USB Device Driver

; USB device driver
[Driver1]
InfFile=%PAL:AppDir%\drivers\myusbdevice.inf
HardwareId=USB\VID_1234&PID_5678
DriverName=My Custom USB Device
Architecture=x64
Signed=true
IfExists=update
Required=true
ForceInstall=false
Timeout=60
Category=USB
Version=1.2.3.4
Publisher=My Company

; USB composite device
[Driver2]
InfFile=%PAL:AppDir%\drivers\composite.inf
HardwareId=USB\VID_1234&PID_5679&MI_00
DriverName=My USB Composite Device
Architecture=auto
Signed=true
IfExists=replace
Required=false
ForceInstall=false
Timeout=45
Category=USB

Example 2: Network Adapter Driver

; Virtual network adapter
[Driver1]
InfFile=%PAL:AppDir%\drivers\virtualnet.inf
HardwareId=ROOT\VIRTUALNET
DriverName=Virtual Network Adapter
Architecture=x64
Signed=true
IfExists=replace
Required=true
ForceInstall=true
Timeout=120
Category=Network
Publisher=My Network Solutions

; WiFi adapter driver
[Driver2]
InfFile=%PAL:AppDir%\drivers\wifidriver.inf
HardwareId=PCI\VEN_8086&DEV_2723
DriverName=Advanced WiFi Adapter
Architecture=x64
Signed=true
IfExists=skip
Required=false
ForceInstall=false
Timeout=90
Category=Network

Example 3: Audio/Video Capture Driver

; Video capture driver
[Driver1]
InfFile=%PAL:AppDir%\drivers\videocapture.inf
HardwareId=USB\VID_ABCD&PID_1234
DriverName=Professional Video Capture Device
Architecture=x64
Signed=true
IfExists=update
Required=true
ForceInstall=false
Timeout=60
Category=Media
Publisher=Video Solutions Inc

; Audio capture driver
[Driver2]
InfFile=%PAL:AppDir%\drivers\audiocapture.inf
HardwareId=USB\VID_ABCD&PID_1235
DriverName=Professional Audio Interface
Architecture=both
Signed=true
IfExists=update
Required=true
ForceInstall=false
Timeout=45
Category=Media

; Virtual audio driver
[Driver3]
InfFile=%PAL:AppDir%\drivers\virtualaudio.inf
HardwareId=ROOT\VIRTUALAUDIO
DriverName=Virtual Audio Cable
Architecture=x64
Signed=false
IfExists=replace
Required=false
ForceInstall=true
Timeout=30
Category=Media

Clone this wiki locally