Msiexec REINSTALL=ALL REINSTALLMODE=vamus 不起作用

发布于 2024-09-05 17:00:22 字数 285 浏览 1 评论 0原文

在我的安装程序(使用 WiX 创建)中,我使用 msiexec REINSTALL=ALL REINSTALLMODE=vamus /qr /i setup.msi 命令强制重新安装所有内容。这工作正常,但添加新组件(exe 文件)后它停止工作。 nw 如果我尝试此命令,它不会替换安装目录中的文件。

为了解决这个问题,我尝试将新文件添加为现有组件的一部分,但这不起作用。

有什么想法/解决方案来解决这个问题吗? 当我使用上述命令时,MSI 是否会检查所有现有文件(由之前的软件包安装),如果找不到其中一个文件,则会失败?

In my installer (created using WiX) I forcefully re install everything using msiexec REINSTALL=ALL REINSTALLMODE=vamus /qr /i setup.msi command. This was working fine but after adding a new component (an exe file) it stopped working. nw if I try this command it doesn't replaces the file in installation directory.

To solve this I tried adding the new file as a part of an existing component but that didn't work.

Any idea/solution to solve this?
Does MSI check for all the existing files (installed by previous package) and fail if it doesn't find one of the file when I use the above command?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文