Installation Application

Hello,

Can anybody tell me whether it is possible to build a user application which can install a device driver for a specific device . I have been working with some sample wdk application which installs the driver but i don’t see them identifying any specific device connected to the system except devcon which takes the Hwid as command line argument.

Using Devcon i tried to update the driver for the device providing MyDeviceId ibut t showed failed status. Can anybody tell me where to look for solving this. and what is the correct way to use the Devcon update cmd.