Install drivers (WinUSB) with Clickonce?

Can you install a device driver created using WinUSB along with a C # application deployed using Click-once?

+3
source share
3 answers

ClickOnce cannot install the driver.

ClickOnce simply copies files from the server location to the client profile and synchronizes them. The main reason people get confused is because Visual Studio does extra things when you use them for deployment. It creates both a web page and a preloader for the prerequisites. The boot block combines all your prerequisites into a single package, but is completely separate from ClickOnce.

, , ClickOnce. - ClickOnce , . , .

, .

+3

Drivers can be removed. My ClickOnce applications locally localize driver files during installation, then my application checks to see if a USB device is present and if drivers have been applied. I think this is the best because the user is getting the right error for their situation. If there are no drivers, I request the user and runas or just run the installer.

0
source

Source: https://habr.com/ru/post/1734590/


All Articles