title: How to check if Windows is busy by installing any driver?
body: <p>I write program which installs usb device driver by means of dpinst.exe. At program start I want to check if Windows is busy by searching/installing/updating some driver. (Main scenario I want to avoid is launch of dpinst.exe while Windows is searching driver for plugged device.) How can I check that?</p>