Windows Installer custom action BEFORE any validation

萝らか妹 提交于 2019-12-04 17:08:18

You need to schedule the action twice, once in the UI sequence and once in the Execute sequence, then schedule so it will only run in the first sequence that tries to execute it. (e.g. CustomAction/@execute='firstSequence' in WiX)

Update: If you're using Orca, then see the documentation on Custom Action Execution Scheduling Options, you'll just need to ensure that the msidbCustomActionTypeFirstSequence bit is set.

You are rightly placed the custom action in the "InstallExecuteSequence". Who shows the "'app running' warning"? Did you verify that your custom action actually executed? Does Orca shows your custom action as first action in sequence? What says installation log?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!