快捷方式和 MSI 更新
我们有一个使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然只有两种解决方案:
Apparently there are only two solutions: