我们将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