WIX The target file is installed in [ProgramFilesFolder] by two different components on an LFN system: This breaks component reference counting
我正在使用WIX通过TFS / MSBuild生成.msi。破坏构建的错误(不仅仅是警告)是:
1 | ICE30: The target file 'eiycriw9.exe|MyApp.exe' is installed in '[ProgramFilesFolder]\\Folder\\MyAppFolder' by two different components on an LFN system: MyApp.exe and cmp497A0C7040B1E426AA3569D995A62AF2. This breaks component reference counting. |
此错误在构建日志中出现两次。
我仅安装该软件的一个版本,并且没有重复的文件。它是带有单个.exe的单个Windows应用程序。
我验证了唯一的
我的WinApp.wxs文件中只有一个
我很难找到有关此信息,因为大多数遇到问题的人在其wix文件中都有同一个应用程序的多个版本。我们没有。
您能提供的任何帮助都会非常棒。
Component1和Component2都有一个名为" READEME.1st"的文件。
使用短文件名时,安装程??序会将Dir1和Dir2都安装到同一目录TARGETDIR \\\\ PRODUCT。
ICE30生成两个错误,每个文件一个。在显示错误位置的创作环境中,第一个错误是在文件表中一个文件的条目上,第二个错误是在另一个文件的位置上。
-----来自https://msdn.microsoft.com/zh-cn/library/windows/desktop/aa368954(v=vs.85).aspx?f=255