现象: 生成SDK时
Committing database changes
CreateFile failed to open "E:/WINCE600/.../SDK/2450_20081117/MSFT_SDK_EULA_1033.rtf" , Err = 32
==> The process cannot access the file because it is being used by another process.
Error adding the EULA
Error adding required files
MSI file construction completed. 3 error(s), 0 warning(s).
无法生成sdk的msi
解决:
打开Process Explorer,然后生成sdk时发现,pb调用了一个cmd应用程序,来生成sdk,就明白了,
这个cmd程序由于卡巴斯基的阻止,肯定无法打开其它文件,
就导致了这个问题产生"CreateFile failed to open "E:/WINCE600/.../SDK/2450_20081117/MSFT_SDK_EULA_1033.rtf",关掉卡巴斯基,Build SDK顺利完成.