Hi,
currently I use a NSIS script which installs a device driver/.inf file this way:
Now I found that no longer works with Windows 8.x, here the user has to go to device manager, click the new device and point it to storage place of .inf/.cab files manually.
So how can this be done better? How can I let Windows 8 know about this driver so that it uses them automatically once the device is connected?
.cab file is already a signed one, so when pointing to the driver location manually, it works without any warning that would have t obe overriden.
Thanks!
currently I use a NSIS script which installs a device driver/.inf file this way:
This works smoothly with Windows 7 - when the user first connects the device, it is already known to the system and the correct driver is applied automatically.code:
File /r "mydriver.inf"
File /r "mydriver.cat"
nsExec::ExecToStack 'pnputil -i "mydriver.inf"'
Now I found that no longer works with Windows 8.x, here the user has to go to device manager, click the new device and point it to storage place of .inf/.cab files manually.
So how can this be done better? How can I let Windows 8 know about this driver so that it uses them automatically once the device is connected?
.cab file is already a signed one, so when pointing to the driver location manually, it works without any warning that would have t obe overriden.
Thanks!
Comment