使用wix burn Bootstrapper UI取消自定义操作执行和回滚

时间:2013-03-19 03:57:24

标签: wix custom-action bootstrapper burn

我正在尝试创建安装我的msi的wix burn bootstrapper。我正在使用Wix 3.7。 我的msi几乎没有自定义操作。如果我在第一个(或任何)CA运行时取消设置,则在执行该特定CA后,将按顺序调用所有其他CA.我已将所有CA的Execute属性值设置为立即执行=“立即”

我还在ApplyExecuteProgress回调中设置了代码 Result.Cancel 。 在日志文件中,我发现了如下错误:

 MSI (s) (10:34) [07:34:58:759]: I/O on thread 4844 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:759]: I/O on thread 5164 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:759]: I/O on thread 6040 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:759]: I/O on thread 2908 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:759]: I/O on thread 6272 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:760]: I/O on thread 6280 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:760]: I/O on thread 6612 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:760]: I/O on thread 4076 could not be cancelled. Error: 1168
 MSI (s) (10:34) [07:34:58:760]: I/O on thread 6596 could not be cancelled. Error: 1168  

有人可以告诉我任何阻止CA的建议吗?

1 个答案:

答案 0 :(得分:0)

看起来你的自定义操作有一个线程在运行无法取消的I / O.您需要查看代码并确定导致问题的原因。这非常特定于您的代码。

相关问题