我們將Visual C++ 2003解決方案移至Visual 2005,現在我們在部署到清理XP機器時遇到問題。應用程序未能啓動...應用程序配置不正確 - VC++ 2005運行時問題
我們的解決方案有一個DLL項目和一個使用此DLL的命令行可執行文件。這兩個項目都創建並嵌入清單文件。
我們的安裝程序還將VC8 CRT運行時從C:\ Program \ Microsoft Visual Studio 8 \ VC \ redist \ x86 \ Microsoft.VC80.CRT \複製到安裝目錄。
當我們安裝在乾淨的Windows XP上時,我們看到錯誤消息「應用程序未能啓動...應用程序配置不正確。」
把exe文件了Depends.exe,說:
Error: The Side-by-Side configuration information for "c:\program files\MySoftware\vc8\BENCHMARK.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\program files\MySoftware\vc8\MYLIB-VC8.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
事件查看器日誌:
Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.
Generate Activation Context failed for C:\Program Files\MySoftware\vc8\Benchmark.exe. Reference error message: The operation completed successfully.
我讀過複製msvcp80.dll,MSVCR80.DLL,msvcm80.dll和Microsoft.VC80.CRT.manifest到應用程序文件夾就足夠了。
我在做什麼錯?
我想這不是一個選項,因爲我們使用Innosetup作爲我們的安裝程序。 – 2008-11-07 12:41:02