How to interrupt installation from manage CustomActions code?
How can I SILENTLY, without any messages 开发者_运维百科can interrupt an installation from its CustomActions dll written on c#?
Are you using DTF? ( You should be; InstallUtil is horrible ). Assuming you are, just call return ActionResult.Failure or ActionResult.Exit. Also be sure to set CustomAction return processing option to 0. This can be done in WiX using
精彩评论