سؤال

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