快捷方式和 MSI 更新

发布于 2024-09-05 05:55:21 字数 315 浏览 3 评论 0原文

我们有一个使用 WiX 编译的应用程序安装程序,每个版本都使用新的安装包进行更新。安装程序在“开始”菜单中创建广告快捷方式,用户通常会将此快捷方式复制到桌面或其他位置。在应用程序更新期间,会执行重大升级并删除旧的快捷方式,这会导致用户复制的快捷方式消失。这给用户带来了很大的烦恼。

  • 在进行 MSI 主要升级(即不同的产品代码)时,有没有办法更新广告的快捷方式?
  • 或者,有没有办法通过仅运行 setup.msi 文件(无需在命令行上传递 REINSTALLMODE 选项)来允许较小的更新?
  • 或者,解决此问题的唯一方法是使用非广告快捷方式?

We have an installer for application that is compiled using WiX and each version is updated using a new setup package. The installer creates advertised shortcut in Start menu and users often copy this shortcut to desktop or other location. During an application update a major upgrade is performed and the old shortcuts are removed, which causes the ones copied by users to disappear. This causes a major annoyance to the users.

  • Is there a way to update advertised shortcuts when doing MSI major upgrade (ie. different product code)?
  • Or, is there a way to allow minor updates by just running the setup.msi file (without passing a REINSTALLMODE option on the command line)?
  • Or, is the only way to solve this problem to use non-advertised shortcuts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

说好的呢 2024-09-12 05:55:21

显然只有两种解决方案:

  • 使用非广告快捷方式,这也是我们最终选择做的。
  • 使用允许安装次要更新的安装引导程序,即。当检测到以前的安装时,设置 REINSTALLMODE=vomus。这应该可以通过 dotNetInstaller (http://dotnetinstaller.codeplex.com/) 或 Burn(将随 WiX 3.6 一起发布)。

Apparently there are only two solutions:

  • Use non-advertised shortcuts, which is what we eventually chose to do.
  • Use a setup bootstrapper that allows installing minor updates, ie. setting REINSTALLMODE=vomus when previous installation is detected. This should be achievable with dotNetInstaller (http://dotnetinstaller.codeplex.com/) or Burn (to be released with WiX 3.6).
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文