the problem is most likely caused by a mix of driver versions for your graphics card. Basically, the your program uninstalled the driver and windows plug and play system detected the graphics card and started to reinstall its hidden backup copy of the driver why your program tried to install a new copy. problem is that the microsoft version does not copy the final files until you reboot the system and you end up with mis matched driver files.
to fix it you will have to boot in VGA mode or safe mode without your custom graphics driver. Then uninstall the graphics driver, reboot, let microsoft install is version of the driver, then reboot again, then use your program to install the new driver and reboot again. kind of painful but it is...