How to disconnect a device and uninstall the driver?
Currently I have a visual CDRom installed on my system, and I wanna disconnect it from the OS, then uninstall its drivers.How to achieve with NSIS script?

I searched the forum but didn't find any proper solution, after uninstallation using Devcon and reboot, the "Found Hardware Wizard"(SCSI/RAID Controller) would pop up, and I found no way to get rid of it.Seems the drivers were not uninstalled completely.

I'm a newbie on NSIS, so please be patient.

Cheers,
Rico