How to write a custom action to install a UMDF driver?
-
16-01-2021 - |
문제
I want to install a UMDF software, the only driver from our MSI, I understand that to do it, I need to create a root-enumerated device and then install the driver to driver store. I have never written a custom action before.
Has anyone done it before and can get some code?
해결책
Read this topics in the WiX Tutorial:
You may also want to read MSDN documentation on Custom Actions.
다른 팁
It's not recommended to write your own custom action unless you have to because you will have to take care some complex things such as rolling back.
In this case, I would suggest you take a look at the Difx tool shipped with the WDK.
제휴하지 않습니다 StackOverflow