自动化 wix 小更新和小升级 [英] Automating wix small updates and minor upgrades

查看:29
本文介绍了自动化 wix 小更新和小升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在 wix 教程中阅读了以下内容.

因为一些奇怪的原因,小更新并且无法运行次要升级只需单击 .msi文件 - 他们给出错误:另一个该产品的版本已经是安装."我们知道,愚蠢的......无论如何,您必须使用以下命令启动它:

For some strange reason, small updates and minor upgrades cannot be run simply by clicking on the .msi file—they give the error: "Another version of this product is already installed." We know, stupid... Anyway, you have to start it with the command:

msiexec/i SampleUpgrade2.msi重新安装=全部重新安装模式=vomus

msiexec /i SampleUpgrade2.msi REINSTALL=ALL REINSTALLMODE=vomus

别问我这会怎么样普通用户...你最好开始它来自 Autorun.inf 文件或设计一个外部的 Setup.exe shell 来启动它.

Don't ask me how this would fare with the average user... You'd better start it from an Autorun.inf file or devise an outer Setup.exe shell to launch it.

我们希望人们能够下载并安装我们应用的最新版本,即使他们已经安装了旧版本.你通常如何处理这种情况?

We want people to be able to download the most recent version of our app and install it, even if they have an older version already installed. How do you normally deal with this?

推荐答案

一个词:引导程序.WiX 工具集现在有一个简单的引导程序(John Robbin 有一篇关于 setupbld.exe).未来,Burn 将做到这一点,甚至更多.

One word: bootstrapper. The WiX toolset has a simple bootstrapper right now (John Robbin's has a nice write up about setupbld.exe). In the future, Burn will do this and more.

这篇关于自动化 wix 小更新和小升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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