0

我正在尝试在 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#。那么有人可以告诉我该怎么做吗?

4

0 回答 0