.Net Freamwork 4项目的先决条件是什么? [英] what is the .Net Freamwork 4 project's prerequisites?

查看:83
本文介绍了.Net Freamwork 4项目的先决条件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用C#和.NET freamwork 4进行项目.

该项目具有sqlserver数据库(.MDF).

并且目标计算机具有各种操作系统功能(有些具有Windows XP SP2和32位,有些具有Windows XP SP2和64位,而其他具有Windows Vista).

问题是: 如何检测项目先决条件并将其包含在安装项目中?
我对很多选择感到困惑.

请帮帮我.

谢谢.

Hi,
I''m working on project using C# and .NET freamwork 4.

the project have sqlserver database (.MDF).

and the target computers have various operating system features( some have windows xp sp2 and 32-bit, some have windows xp sp2 and 64-bit and other have windows vista).

the question is : how can I detect the project prerequisites and include it to the setup project ?
I''m confused between many choices.

please help me.

thank you.

推荐答案

鉴于该框架刚刚问世,这是一个快速的SDLC.我编写了一个C ++应用程序来部署.NET应用程序,并阅读了注册表以弄清楚在MSI之前需要运行哪些安装程序,但是大多数不错的安装程序包都可以让您指定依赖项,然后运行正确的安装程序.
Given that the framework just came out, that was a quick SDLC. I write a C++ app to deploy .NET apps and read the registry to work out what installers need to run before my MSI, but most decent installer packages will let you specify dependencies and then run the right installers.


您好,

谢谢克里斯蒂安·格劳斯"的帮助.

问题在于确定使程序正常运行所需的依赖项.

我对这些依赖感到困惑:

.Net Freamwork 4(x86和x64)
.Net Freamwork 4客户端配置文件(x86和x64)

安装项目中应包括哪个先前的依赖项?

------------------
安装项目中需要( SQL Server 2008 Express )吗?
(我在程序中使用.MDF数据库文件).

再次谢谢你.
Hi,

thank you "Christian Graus" for your help.

the problem is deciding the dependencies I need to make my program working.

I''m confused about these dependences :

.Net Freamwork 4 (x86 and x64)
.Net Freamwork 4 Client Profile (x86 and x64)

which one of the previous dependencies should be included to the setup project ?

------------------
is the (SQL Server 2008 Express) required to be in the setup project?
( I use .MDF database file in my program ).

thank you again.


这篇关于.Net Freamwork 4项目的先决条件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆