如果不存在则进行复制
我的 Wix 安装程序中包含几个文件夹文件。其中一个文件夹可能已存在于任何 MSI 安装之外的目标计算机上。如果文件夹或文件仅存在于其中一个文件夹中,我不想替换它们。如果文件较旧,不替换它们可能没问题。有什么我需要指定的还是这是默认行为?
I have several folders files included in my Wix based installer. One of the folders may exist on the target machine already outside of any MSI installation. I do not want to replace the folder or files if they already exist for just one of the folders. It might be OK to not replace the files if they are older. Is there anything I need to specify or is this the default behavior?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
明确的答案位于 MSI SDK 中:http:// /msdn.microsoft.com/en-us/library/aa368599(VS.85).aspx
The definitive answer is in the MSI SDK here: http://msdn.microsoft.com/en-us/library/aa368599(VS.85).aspx