; NVIDIA Display Driver uninstaller

; Poll the registry to determine what the installed INF name has become
; then use that name with dpinst to do the uninstall.
getreg InfPath=HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000\InfPath
SysCallAndWait {sysdir}\dpinst.exe /u {windir}\inf\{InfPath}

