Can I install driver like this?

My driver include wdm1.inf and wdm1.sys.I can install it through “Find
new hardware guide” as a unknown device.
If I copy wdm1.inf and wdm1.sys to specify position and modify registry
to what the driver need,can system find wdm1.inf and install mydriver
automatically ?
I know when I plug a network card ,system can find it and install driver
for it if system can recognize it.

thanks all.

Best Regards!

XunFeng Yu