为VB项目创建安装程序 [英] Create Setup For VB Project

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

问题描述




伙计我发布项目时遇到问题

我的需求:

1-运行程序来自a目录例如:C:/ Program Files /

目前当我运行该文件时,该位置位于AppData的某处...

2-从局域网中的其他计算机运行该程序网络没有安装它

i有一些数据库,我希望每个人在我的电脑中使用相同的数据库,我不想使用SQL服务器或类似的东西。我正在为我的项目使用oledb数据库

3-目前我的程序类型是ClickOnce Application。有没有办法改变它?



和...我有一个问题

有没有办法不安装程序和使用它?



tnx

解决方案

要做#1,你甚至不需要安装,除非你必须注册数据类型或使用系统注册表中规定的一些数据(除非绝对必要,否则我建议避免使用;你总是可以在用户配置文件中使用特定于应用程序的数据)。



要做#2,你需要有适当的连接和共享。如果没有任何安装,它可能会或可能不会。这取决于多种因素。首先,您需要在远程计算机上运行.NET的兼容版本(运行应用程序的版本)。它可能需要安装其他产品。实质上,如果您的应用程序依赖于GAC上安装的某些程序集,那么对托管该应用程序的计算机进行网络访问是不够的。特别是,安装兼容的数据库客户端和.NET绑定也应该在远程计算机上完成。



-SA

Hi
Guys i have a problem with publishing my project
my needs :
1- run program from a directory eg : C:/Program Files/
currently when i run the file the location is somewhere in AppData ...
2- run the program from other computer in LAN network without installing it
i have some databases and i want everybody to use the same database in my computer & i dont want to use sql server or similar things. i am using oledb databases for my project
3- currently my program type is ClickOnce Application. is there a way to change that ?

and ... i have a question
is there a way to not install the program and use it ?

tnx

解决方案

To do #1, you don't even need the installation, unless you have to register data types or use some data prescribed in system Registry (which I would recommend to avoid unless it is absolutely necessary; you can always use application-specific data in the user profile).

To do #2, you need to have proper connection and sharing. And it may or may not be possible without any installation. It depends on number of factors. First of all, you need to have compatible version of .NET on the remote computer (the one to run the application). It may need to have other products installed. Essentially, if your application depends on some assemblies installed on the GAC, having network access to the computer hosting the application won't be enough. In particular, installing the compatible database client and the .NET binding to it should be done on the remote computer as well.

—SA


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

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