为我的项目创建安装文件 [英] create setup file for my projects

查看:51
本文介绍了为我的项目创建安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我用银行的C#(sqlserver或access)编写了20多个程序.
我中的一些人使用Crystal Report进行报告.

但是我无法为我的任何项目创建一个设置.

我看到超过1000个使用c#创建的程序,并使用了水晶报表,访问和sqlserver ...,但是它们安装起来没有任何问题.

请帮助我为我的程序创建设置...

我想要一个可以在以下条件下创建安装文件的程序:
1-向其中添加任何必需的程序(我想要的任何.net框架版本,我想要的任何SQL Express版本,Crytal报告,Windows安装程序)
2-在安装时,检查以上程序,如果没有,请安装它们.
友好的3位用户
4-如果存在,则有关该程序的电子书,视频或艺术作品

hi all
i writed over 20 program with c# with bank (sqlserver or access) .
i some of them i used Crystal report for report .

but i cant create one setup for any of my projects .

i see over than 1000 program which create with c# and used crystal report , access and sqlserver ... but they install without any problem .

please help me for create setup for my program ...

i want a program that create setup file with below conditions :
1-add any requird program to it(any .net framework version i want , any version of sql express i want , crytal report , windows installer)
2-in install time , check the above program , and if they are not , install they .
3-user freindly
4- if exists , ebook or video or artical about the program

推荐答案

我认为您的想法不正确!
特别是,您不应在安装中包括SQL Server.有两个原因:
0)您只能出于版权原因分发SQL Server Express-不能分发SQL Server完整版.
1)他们可能已经在网络上安装了SQL Server.如果是这样,那么他们大概会想使用该版本.
2)如果他们确实安装了SQL Server,并且您开始激增SQL Server Express实例,那么您将烦恼数据库管理员...
3)与在用户控制下的多个分散版本相比,备份SQl Server的单个站点的可能性要大得多.
4)对于普通"用户来说,安装和管理Sql Server非常复杂-这不是一个好主意!
5)它将破坏使用SqlServer而不是SqlCE或SQLite的主要优势-多用户访问.如果每个人都安装了自己的SQL Server副本,那么您将拥有数据库的多个副本,每个副本都由一个人使用.这将引起一些混乱,并且(取决于您编写原始数据库的方式)可能会花费一些精力才能在发现问题后合并到一个实例中.
I think you have the wrong idea!
In particular, you should not include SQL Server in your installation. There are a couple of reasons:
0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.
1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version.
2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator...
3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control.
4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea!
5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.


检查以下内容:

在Visual Studio安装项目中添加.NET Framework的先决条件 [ http://vijirajkumar.blogspot.com/2010/03/create-setup- and-deployment-project.html [ ^ ]

希望对您有所帮助:)
check these out:

Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]

http://vijirajkumar.blogspot.com/2010/03/create-setup-and-deployment-project.html[^]

hope it helps :)


这篇关于为我的项目创建安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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