Burn (WiX bootstrapper) 不会卸载 MSI 包 [英] Burn (WiX bootstrapper) does not uninstall MSI package

查看:36
本文介绍了Burn (WiX bootstrapper) 不会卸载 MSI 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有这条链的 Burn 包:

I have a Burn bundle with this chain:

<Chain>
  <PackageGroupRef Id="NetFx40Web"/>
  <MsiPackage SourceFile="c:\\My\\Path\\MyMsi.msi"
        Id="MyMsi" DisplayName="MyMsi" DisplayInternalUI="yes" Vital="yes">
    <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
  </MsiPackage>
</Chain>

.NET 框架和我的 MSI 文件都已正确安装.但是在卸载过程中不会卸载 MSI 包(无论是在单击引导程序 EXE 之后还是从程序和功能中).有没有办法强制卸载 MSI 包?

Both .NET framework and my MSI files are installed correctly. But the MSI package is not uninstalled during uninstall procedure (both after clicking on the bootstrapper EXE or from Programs And Features). Is there some way how to force uninstalling the MSI package?

推荐答案

Burn 将创建一个日志文件,其中包含 %TEMP% 中每个包的更改状态的详细信息.查看名为计划"的部分,您将看到捆绑包中每个包的行.日志文件中的其他消息将指出 MSI 是否仍被另一个 Bundle 引用计数,或者机器上的 MSI 是否比 Bundle 携带的 MSI 新(因此它不会卸载它).

Burn will create a log file with detailed information about the change state of each package in %TEMP%. Take a look at the section called "Plan" and you will see lines for each package in your Bundle. Other messages in the log file will point out if the MSI is still reference counted by another Bundle or if the MSI on the machine is newer than the one the Bundle carries (so it won't uninstall it).

这篇关于Burn (WiX bootstrapper) 不会卸载 MSI 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆