开发者

How to interrupt installation from manage CustomActions code?

开发者 https://www.devze.com 2023-01-08 03:32 出处:网络
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 yo

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

0

精彩评论

暂无评论...
验证码 换一张
取 消