0
我想在Wix安装程序上添加自定义事件。我成功添加了安装完成的事件。
对于这个我使用下面的代码:
自定义事件取消安装wix
<InstallExecuteSequence>
<Custom Action='AcquireLaunchLock' Before='CheckForMediaPlayer'>NotInstalled</Custom>
<Custom Action='CheckForMediaPlayer' Before='LaunchConditions'>Not Installed</Custom>
.
.
.
<Custom Action='UpdateSyncStatus' After='CopyHelperVideos2'></Custom>
</InstallExecuteSequence>
我需要还取消一个自定义事件(如果用户取消设置之间)
我是新的C#。所以任何人都可以告诉我如何做到这一点?
使用的OnExit =“取消”添加其他自定义动作(或的OnExit =“错误”,如果它是的情况下)。 –
@Adriano你能告诉我一行代码吗? –
就像这样:' '(见http://wix.sourceforge.net/manual-wix2/wix_xsd_custom.htm) –