English 中文(简体)
我如何把视觉C++2010年再分配到我的设置中?
原标题:How do I include Visual C++ 2010 redistribuable in my setup?

When my application runs, it requires that Microsoft Visual C++ 2010 Redistributable Package (x86) is installed. How do I include it in my app setup?

我利用“2010年视觉演播室”的设置。

最佳回答

我将把VC++2010年合并模块纳入安装项目。 关于通过合并模块进行再分配的信息可在以下网站查阅:http://msdn.microsoft.com/en-us/library/ms235290.aspx“rel=“nofollow”>MSDN article。 http://msdn.microsoft.com/en-us/library/ms235299.aspx” rel=“nofollow”

问题回答

Prerequisites Dialog Box

This dialog box specifies which prerequisite components are installed, how they are installed, and which order the packages are installed.

To access this dialog box, select a project node in Solution Explorer, and then, on the Project menu, click Properties. When the Project Designer appears, click the Publish tab. On the Publish page, click Prerequisites. For Setup projects, on the Project menu, click Properties. When the Property Pages dialog box appears, click Prerequisites.

此处所解释的是,按照所建议的步骤,在2010年增加VC++作为先决条件。 Done!

探讨以下条款。 他们解释如何将必要资源纳入一个设置项目。

如果您重新使用http://msdn.microsoft.com/en-us/library/zebw5zk9.aspx” rel=“nofollow”>,则 项目,我建议使用。 模块

<>Redistributing by Using Merge models

Visual Studio installs several merge modules for each Visual C++ component that may be redistributed with your application. They may be found in the Program FilesCommon FilesMerge Modules folder. Each of these merge modules may be used to deploy Visual C++ DLLs to the target system.

将合并模块添加到你的项目中是:straight forward

www.un.org/Depts/DGACM/index_spanish.htm 在部署项目中增加一个合并模块

  1. Select the deployment project in Solution Explorer.
  2. On the Project menu, point to Add, and then click Merge Module.
  3. In the resulting Add Modules dialog box, browse to the location of the merge module that you want to add.




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签