Bootstrapper忽略降级而不是失败

时间:2016-03-24 17:42:35

标签: wix burn

我们有四个软件包和许多软件包,它们安装了这些软件包的不同组合。

Bundle定义中这些Packages的MsiPackage元素都将Vital属性设置为" yes"。

我们发现了一个我们认为Bootstrapper失败但不会失败的情况。

软件包A安装在版本2中。

用户运行包含程序包A版本1的Bootstrapper。

Bootstrapper忽略降级而不是失败:

[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: vcredist_x64.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: msxml6_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: Register
[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: prodist.sts.vault.msi, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: prodist.sts.line.msi, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: prodist.sts.server.msi, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0DC8:06B4][2016-03-24T14:29:36]i201: Planned package: prodist.sts.client.msi, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0DC8:06B4][2016-03-24T14:29:36]i299: Plan complete, result: 0x0

我们缺少什么?在这种情况下,如何使标准引导程序失败?

1 个答案:

答案 0 :(得分:1)

这不是错误,因为Burn遵循Windows版本规则:较新版本比旧版本更好。所以如果已经安装了更新的版本,那不是失败;它只是意味着Burn可以安全地跳过捆绑包带的旧版本。

如果要阻止此类软件包安装尝试,请使用ProductSearch查找已安装软件包的版本。