如何制作应用程序的安装文件PLZ帮助我... [英] how to make an installation file of application plz help me...

查看:108
本文介绍了如何制作应用程序的安装文件PLZ帮助我...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我创建了一个基于sql server的应用程序...其中需要用户名和密码来访问sql server数据库和表...

但我想在另一个没有sql srever的系统上安装这个应用程序 (或服务器用户名和密码不同) ...所以如果我安装这个应用程序..它肯定会给出关于连接问题的错误...

我怎么能避免这个问题....请帮助我......

解决方案

对不起我对此的迟到回复。



要为您的应用程序创建设置,您需要将新项目添加到您的类型的解决方案中设置和部署。在Visual Studio安装程序下,我们可以创建新的设置项目。

使用以下链接,

http ://aspalliance.com/622_StepbyStep_Process_of_Creating_a_Setup_and_Deployment_Project [ ^ ]



我记得在vs2012上我们不再拥有这个功能,但版本少于我们2012年的版本。


Hi Dinesh



您可以访问此网址,我希望您的问题能够从那里解决。 http://www.aspmemo.net/2012/10/creating-and-restoring-sql-server-2008.html [ ^ ]

谢谢。


如何创建设置



和sqlserver问题在你的代码中使用sqlserverce compact edition在你的代码中提一次连接字符串所以con字符串或服务器名称不会有任何路径错误

这里是小型演示

点击这里

Hello,
I have created an application based on sql server...in which username and password are required to access sql server database and tables...
but i want to install this application on another system where no sql srever is present (OR server username and password are different)...so if i install this app..it would definately give an error regarding connection problem...
how can i avoid this problem....plz help me.....

解决方案

Sorry for my late reply on this.

To create a setup for your application, you need to add a new project to your solution of the type Set up and Deployment. Under Visual studio installer we can create new set up project.
Use the below link,
http://aspalliance.com/622_StepbyStep_Process_of_Creating_a_Setup_and_Deployment_Project[^]

I remember on vs2012 we don''t have this feature anymore, but version less that 2012 we do have.


Hi Dinesh

You can visit this url and i hope , your problem will be solved from there.http://www.aspmemo.net/2012/10/creating-and-restoring-sql-server-2008.html[^]
Thanks.


how to create set up

and for the sqlserver proble use sqlserverce compact edition in your code you just have to mention connection string in your code once so there will not be any eror of path for con string or server name
here is small demonstration
click here


这篇关于如何制作应用程序的安装文件PLZ帮助我...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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