我想为我的自定义 TFS 工作项控件的文件制作一个安装程序。我使用 WIX。为了使控件正常工作,我必须将文件放入
C:\Users\UserName\AppData\Local\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\.
文件夹。
我在xml中制作了这个目录结构:
<Fragment>
<!--Microsoft\Team Foundation\Work Item Tracking\Custom Controls\.-->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="LocalAppDataFolder">
<Directory Id="MS" Name="Microsoft">
<Directory Id="TF" Name="Team Foundation">
<Directory Id="WIT" Name="Work Item Tracking">
<Directory Id="CC" Name="Custom Controls">
<Directory Id="INSTALLFOLDER"/>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Fragment>
问题是,我在构建过程中收到 MS、TF、WIT、CC 文件夹错误:
ICE64: The directory <<id>> is in the user profile but is not listed in the RemoveFile table.
好的,我理解错误,但如果我不想在卸载时删除这些文件夹怎么办?