如何在c#.net中创建exe文件,包括包含框架作品和Crystal报表,并通过我们的exe自动安装这些文件 [英] how to create exe file in c# .net with including frame works and crystal reports with automatic install these with our exe

查看:109
本文介绍了如何在c#.net中创建exe文件,包括包含框架作品和Crystal报表,并通过我们的exe自动安装这些文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我已经使用SQL Server数据库和Crystal报表开发了一个C#Windows应用程序.
(通过Visual Studio 2008和sqlserver 2005实现)
现在我想在我的exe文件上制作一个exe文件.

我在制作exe文件时遇到了这些问题.

1.如果我创建一个exe文件,相应的databse(sqlserver db)自动添加到
exe或任何其他需要将db添加到exe的进程?
2. exe如何维护客户端系统中的数据库?
3.如何将我的水晶报表添加到exe?

4.如何在exe中添加dotnet框架和相关的标签?​​
5如何检查客户端系统dotnet资源是否存在

6.wich是否必须在我的exe的客户端系统中安装?

7.如何在安装后维护app.config中的文件路径更改?

8.如何通过exe文件自动在客户端系统位置中安装dotnet资源?

任何机构都可以在我的查询中提供很好的参考或很好的例子...

hello

i have developed a c# windows application using sql server db and crystal reports.
(it is imlemented through visual studio 2008 and sqlserver 2005)
now i want to make a exe file on my exe file.

i have these doughts on making exe file.

1.if i create a exe file respective databse(sqlserver db) automatically added to the
exe or any other process i need to add db to exe?
2.how exe maintain the database in client system?
3. how to add my crystal reports to exe?

4. how to add dotnet frame work and related thigs to exe?
5 How to check in client system dotnet resources exist or not

6.wich are must installed in client system for my exe ?

7.how to maintain in app.config for file paths changes after instalation?

8.how to make automaically installation of dotnet resources with exe file click in client system location?

any body give good meterial or good examples on my queries...

推荐答案

1.您必须在设置中添加数据库
2.无需在客户端中维护数据库,因为您的数据库已在服务器中.
3.-
4.如果您的解决方案在安装后无法使用,请从外部安装dot net framework.
5.如果您的项目运行良好,则无需检查资源,否则请安装框架.
6.框架n db
7.安装后,将项目文件夹放置在程序文件中,更改projectname.exe.config文件中的连接字符串
8.-
1. You have to add database in your setup
2. No need to maintain db in clients as your database is already in server.
3. --
4. Install dot net framework externally if your solution not working after installation.
5. If your project works fine then no need to check for resources if not then install framework.
6. framework n db
7. After Installation your projects folder get placed in program files change connection string in projectname.exe.config file
8. --


^ ]

这可以帮助您开发设置.
http://www.fordevs.com/2009/07/steps-to-create-setup-and-deployment-project-in-dot-net-vs-2008.html[^]

this may help you to develop the setups.


这篇关于如何在c#.net中创建exe文件,包括包含框架作品和Crystal报表,并通过我们的exe自动安装这些文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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