Files
LookingGlass/idd/LGInput/LGInput.inf
Geoffrey McRae a1f11bcc3e [idd] install: quiesce devices during driver updates
Stop LGIddHelper before updating either UMDF stack. Disable LGInput
before LGIdd, update both packages while quiesced, then restore the
provider before its dependent and start the service last.

Use in-use replacement for UMDF binaries and prevent the INF from
restarting the Helper during package installation. Report each
SetupAPI restart result and propagate it through NSIS.

Roll back transaction-owned devices, packages, and service state on
fresh-install failure. Preserve dependency order during removal and
select the package actually installed on each devnode.
2026-08-15 18:50:44 +10:00

76 lines
1.6 KiB
INI

;
; LGInput.inf
;
[Version]
Signature="$Windows NT$"
Class=HIDClass
ClassGuid={745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Provider=%ManufacturerName%
CatalogFile=LGInput.cat
DriverVer=0.1
PnpLockdown=1
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$.10.0
[Standard.NT$ARCH$.10.0]
%DeviceName%=LGInput_Install,Root\LGInput
[LGInput_Install.NT]
CopyFiles=UMDriverCopy
[LGInput_Install.NT.hw]
AddReg=LGInput_HardwareSettings
[LGInput_HardwareSettings]
HKR,,"LowerFilters",0x00010008,"WUDFRd"
[LGInput_Install.NT.Services]
AddService=WUDFRd,0x000001f8,WUDFRD_ServiceInstall
AddService=mshidumdf,0x000001fa,mshidumdf_ServiceInstall
[mshidumdf_ServiceInstall]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\mshidumdf.sys
[WUDFRD_ServiceInstall]
DisplayName=%WudfRdDisplayName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys
[LGInput_Install.NT.Wdf]
UmdfService=LGInput,LGInput_ServiceInstall
UmdfServiceOrder=LGInput
UmdfKernelModeClientPolicy=AllowKernelModeClients
UmdfFileObjectPolicy=AllowNullAndUnknownFileObjects
UmdfMethodNeitherAction=Copy
UmdfFsContextUsePolicy=CanUseFsContext2
UmdfHostProcessSharing=ProcessSharingDisabled
[LGInput_ServiceInstall]
UmdfLibraryVersion=$UMDFVERSION$
ServiceBinary=%12%\UMDF\LGInput.dll
[DestinationDirs]
UMDriverCopy=12,UMDF
[UMDriverCopy]
LGInput.dll,,,0x00004000
[SourceDisksNames]
1=%DiskName%
[SourceDisksFiles]
LGInput.dll=1
[Strings]
ManufacturerName="Looking Glass"
DiskName="LGInput Installation Disk"
DeviceName="Looking Glass"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"