file - 卸载后如何使WiX离开文件?

标签 file wix uninstallation

有没有办法在卸载后不删除文件?

最佳答案

像这样设置ComponentPermanent="yes":

<Component Id="LicenseDoc" Guid="*" Permanent="yes">
    <File Id ="License.rtf" Source="$(var.SolutionDir)Installer\License.rtf" />
</Component>

关于file - 卸载后如何使WiX离开文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2631063/

相关文章:

wix - 在 WiX 3.7 中结合绝对路径和相对路径

ruby - 如何卸载 RVM gem?

vsto - 卸载 MS Office 应用程序级 VSTO 加载项

windows - 如果Windows批处理文件超过一分钟,请立即退出循环

java - 这种方法以某种方式删除了我的文件内容,但没有明显的原因

c++ - 在 Windows 上处理文件名中带有回车符的文件

java - RandomAccessFile 长度多久更新一次?

file - SIP 调用有任何文件格式吗?

installation - WIX : Maintenance option does not support add feature option

wix - 为什么安装程序在单击快捷方式后运行?