有没有办法在卸载后不删除文件?
最佳答案
像这样设置Component
值Permanent="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/