且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误 - 检测到文件冲突!

更新时间:2022-10-21 14:49:36

Hello moyanming2013,


我可以重现这个问题。这个问题有一个解决方法。


1。删除TestOEMInput.xml中的SPEECHDATA功能,构建映像,闪存并启动设备;


2。在C:\Program Files(x86)\ Windows Wits \\\\\\\\\\\\\\\\\\\\\\\\\\\ IotUAP.MS_IOT_SPEECHDATA_ZH_CN.IOT.FIP~31bf3856ad364e35~arm ~~ .cab


Microsoft.IotUAP.MS_IOT_SPEECHDATA_ZH_HK.IOT.FIP~31bf3856ad364e35~arm ~~ .cab


Microsoft.IotUAP.MS_IOT_SPEECHDATA_ZH_TW.IOT.FIP~31bf3856ad364e35~arm ~~ .cab


3。将语音语言CAB文件复制到设备。


4.使用applyupdate工具安装它。



最诚挚的问候,


Michael


Hi,

DB410C, bsp v2121.

ADK_VERSION : 10.0.17763.1

IOTCORE_VER : 10.0.17763.253

ADDONKITVER: 6.0.190116.1218

There are errors occur when build the following features (in the "TestOEMInput.xml" file):

<Speech>
<Language>en-us</Language>
<Language>ZH_CN</Language>
<Language>ZH_HK</Language>
<Language>ZH_TW</Language>
</Speech>

<Microsoft>
<Feature>IOT_SPEECHDATA_ZH_CN</Feature>
<Feature>IOT_SPEECHDATA_ZH_HK</Feature>
<Feature>IOT_SPEECHDATA_ZH_TW</Feature>
</Microsoft>

This will take a while...
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\Windows\System32\MSWB70404.dll' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\Windows\System32\NL7Data0404.dll' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\Windows\System32\NL7Lexicons0404.dll' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\Windows\System32\NL7Models0404.dll' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\Windows\System32\NOISE.CHT' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\windows\winsxs\manifests\arm_microsoft-windows-w..-chinesetraditional_31bf3856ad364e35_10.0.17763.253_none_064bddec234891a1.manifest' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\windows\winsxs\manifests\arm_microsoft-windows-w..chinese_traditional_31bf3856ad364e35_10.0.17763.253_none_01faa22585aa2caa.manifest' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\iuvalidator\packagevalidationrules.cpp, PackageValidationRules::Rule_DetectFileCollisions, line 726, Error  , Error - File collision detected, file '\windows\winsxs\manifests\arm_microsoft-windows-w..chinese_traditional_31bf3856ad364e35_10.0.17763.253_none_5ed3384be5faa1f5.manifest' found in packages 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-HK-Package~31bf3856ad364e35~arm~~' and 'Microsoft-Windows-OneCore-Microsoft-SpeechData-zh-TW-Package~31bf3856ad364e35~arm~~'.
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\updatedll\lib\updatemain.cpp, UpdateMain::ValidatePackages, line 258, Error  , Failed to calculate update order, error is 0x80188306
ThreadId7120 ERROR: [00:00:04] onecore\base\cbs\mobile\updatedll\lib\prepareupdate.cpp, UpdateMain::PrepareUpdate, line 177, Error  , Package verification failed, error is 0x80188306
ThreadId7120 ERROR: Imaging!UpdateImage: Failed call to UpdateDLL::PrepareUpdate with error code: -2145877242 (0x80188306)
Error: Build failed
False
IoTCorePShell arm 10.0.0.0 Test

How to fix this problem?

BTW, there is no error if delete the "zh-hk" and "zh-tw" in the "TestOEMInput.xml" file:

<Speech>
<Language>en-us</Language>
<Language>ZH_CN</Language>
<!--<Language>ZH_HK</Language>-->
<!--<Language>ZH_TW</Language>-->
</Speech>

<Microsoft>
<Feature>IOT_SPEECHDATA_ZH_CN</Feature>
<!--<Feature>IOT_SPEECHDATA_ZH_HK</Feature>-->
<!--<Feature>IOT_SPEECHDATA_ZH_TW</Feature>-->
</Microsoft>

Hello moyanming2013,

I can reproduce this issue. There is a workaround for this issue.

1. Remove the SPEECHDATA features in the TestOEMInput.xml, build the image, flash and boot the device;

2. Find the speech language CAB file under C:\Program Files (x86)\Windows Kits\10\MSPackages\retail\\fre. 

Microsoft.IotUAP.MS_IOT_SPEECHDATA_ZH_CN.IOT.FIP~31bf3856ad364e35~arm~~.cab

Microsoft.IotUAP.MS_IOT_SPEECHDATA_ZH_HK.IOT.FIP~31bf3856ad364e35~arm~~.cab

Microsoft.IotUAP.MS_IOT_SPEECHDATA_ZH_TW.IOT.FIP~31bf3856ad364e35~arm~~.cab

3. Copy the speech language CAB file to the device.

4. Use applyupdate tool install it.

Best Regards,

Michael