How to write a custom action to install a UMDF driver?
I want to in开发者_运维知识库stall 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:
- Extra Actions
- What's Not in the Book
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.
精彩评论