現象: 生成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順利完成.