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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top