WiX:自定义操作在卸载期间立即关闭

时间:2014-06-23 12:09:14

标签: wix uninstall custom-action wix3.8

我尝试在卸载期间运行自定义操作,用户必须做出决定,但无论我选择哪个配置,安装程序都不会等待CA完成。我错过了什么吗?

编辑:我当前的配置

<Binary Id="TestEXE" SourceFile="..\SetupProject2\Install\TestEXE.exe" />
<CustomAction Id ="TEST"
              BinaryKey ="TestEXE"
              ExeCommand="TestEXE.exe"
              Impersonate="no"
              Execute="deferred"
              Return="ignore">
</CustomAction>
<InstallExecuteSequence>
  <Custom Action="TEST" Before="InstallFinalize">
    <![CDATA[Installed AND NOT UPGRADINGPRODUCTCODE]]>
  </Custom>
</InstallExecuteSequence>

我为&#34; Execute&#34;尝试了不同的值。和&#34;返回&#34;,但仍然没有成功。

0 个答案:

没有答案
相关问题