如何创建Windows应用程序的安装程序以在任何系统上安装应用程序 [英] How To Create Setup Of Windows Application for installing application on any system

查看:91
本文介绍了如何创建Windows应用程序的安装程序以在任何系统上安装应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我已经在C#Windows应用程序中创建了一个项目.

我想为此项目创建安装程序,以安装在客户端(和其他)系统上.

如何部署此项目以在任何系统上安装?

请帮我.


谢谢
Gulam Hussain

Hi Friends,

I have Created a Project in C# Windows application.

I want to create setup for this project to install on client''s (and other) systems.

How do I deploy this project for installing on any system?

Please help me.


Thanks You
Gulam Hussain

推荐答案

首先转到解决方案资源管理器中的解决方案文件.

右键单击它,然后单击添加新项目".

转到其他项目类型.

然后转到设置和部署".

然后单击设置项目".

通过在其中进行cetain设置..然后构建您的应用程序..

然后,您进行了安装,可以将其安装到客户端的计算机上.
First Go to the solution file in the solution explorer.

Right click on it and then click on Add New Project.

Go to Other Project Types.

Then Go to Set up and Deployment..

Then Click on Set up Project.

By making cetain setting in it.. and then build your application..

Then you got the set up which you can install to client''s computer..


hi

更改您的连接字符串,只需将您的PC名称(例如:Altus-Pc)替换为dot



//例如:sqlcon.ConnectionString =数据源=.\\ sqlexpress;初始目录=数据库名称;集成安全性= True";

此连接字符串将在所有系统中得到支持
hi

change your connection string, just replace your pc name(Eg: Altus-Pc) with dot



// Eg: sqlcon.ConnectionString = "Data Source=.\\sqlexpress;Initial Catalog=databasename; Integrated Security=True";

This connection String will Supported in All Systems


这篇关于如何创建Windows应用程序的安装程序以在任何系统上安装应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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