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#?

Answers


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


Need Your Help

How to use zval in PHP?

php variables

Could you suggest me any practical example showing how to make use zval containers? The only related function I know is debug_zval_dump, but I never really used it.