开发者

How to write a custom action to install a UMDF driver?

开发者 https://www.devze.com 2023-04-01 06:48 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消