; Remove any NVIDIA device driver if present
if {OS}=WinME then set RemoveDeviceStyle=Win9x
RemoveDevice pci,VEN_10DE&DEV_01B4,System
RemoveDevice pci,VEN_10DE&DEV_0064,System
RemoveDevice pci,VEN_10DE&DEV_00D4,System
RemoveDevice pci,VEN_10DE&DEV_0084,System
RemoveDevice pci,VEN_10DE&DEV_00E4,System
if {OS}=WinME then set RemoveDeviceStyle

; Now try to delete files used by System Management Bus driver
DelOemInfs nv*,version,Provider,%Nvidia%,version,CatalogFile,nvsmb.cat

DelBoot {sysdir}\nvsmbus.inf
DelBoot {windir}\INF\INTERNET\NVIDIAnvsmbus.inf

; also delete its uninstaller binary
DelBoot {sysdir}\nvusmb.exe

DelBoot {windir}\APPLOG\NVUSMB.LGD
DelBoot {windir}\APPLOG\NVUSMB.LGC
DelBoot {windir}\APPLOG\NVUNINST.LGD
DelBoot {windir}\APPLOG\NVUNINST.LGC
