[wix-users] Deferred Custom Action

Nir Bar nir.bar at panel-sw.com
Tue Jul 4 05:38:20 PDT 2017


If you need to run the CA with admin rights, you have the MSI executed in machine scope- that is, elevated.
Additionally, the CustomAction element should have Impersonate="no" authored.


By definition, deferred custom actions run during InstallExecuteSequence.

If the return value of the CA isn't ignored, then a failure will cause the installation to fail.
You can also send a message from the CA code to pop an error message, using C++ MsiProcessMessage() or C# session.Message() 





--Independent WiX Expert. Creator of-
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks








More information about the wix-users mailing list