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