Msiexec REINSTALL=ALL REINSTALLMODE=vamus 不起作用
在我的安装程序(使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论