包括VS2005中的MS C ++运行时生成的MSI [英] Including MS C++ runtime in VS2005 generated MSI
问题描述
有没有办法,在VS2005中创建部署项目时,要确保我的应用程序将永远使用我提供的运行时当我将运行时文件添加到项目中时,它会询问是否创建一个合并模块,但不能确定该做什么。而且不管创造一个,问题依然存在。
Martin Richter写了一篇关于CodeProject的文章:
< a href =http://www.codeproject.com/KB/cpp/PrivateAssemblyProjects.aspx =nofollow noreferrer>使用私有MFC,ATL和CRT组件轻松创建项目
此解决方案不依赖于您的MSI软件包,而是依赖于使用CRT文件的应用程序。
I've got a project that depends on a particular version of MSVCR80.dll (the MS Visual C Runtime) and I'm running into problems where, depending on the particular system configuration, my app doesn't always get the right version of that file. It's been a bit of a crap shoot as to what path it takes to find a file with that name, and it's not always right...
Is there a way, when creating a Deployment Project in VS2005, to ensure that my app will always use the runtime that I provided?? When I add the runtime file to the project, it asks about creating a merge module...but not really sure what that does. And regardless of creating one, the issue remains.
Martin Richter wrote an article about that on CodeProject: Create projects easily with private MFC, ATL and CRT assemblies
This solution does not rely on your MSI packages but on the application that uses the CRT files.
这篇关于包括VS2005中的MS C ++运行时生成的MSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!