如何构建.exe独立应用程序以及更好/更快? [英] how can one build .exe standalone application and what's better/faster?

查看:67
本文介绍了如何构建.exe独立应用程序以及更好/更快?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用vb8构建应用程序时,它是带有一堆文件的setup.exe

然后移动到另一台计算机,它请求下载文件

over the互联网。我如何构建独立的.exe应用程序,以及

哪个更有效 - stand alone.exe vs setup.exe installin

compnent?

问候

when I build application with vb8, it is setup.exe with bunch of files
and then moving to the other computer, it request to download files
over the internet. How can I build stand-alone .exe appliation, and
what is more efficient - stand alone.exe vs setup.exe installin
compnent?
regards

推荐答案

2月27日上午10:25,Joe < joe1 ... @tlen.plwrote:
On Feb 27, 10:25 am, "Joe" <joe1...@tlen.plwrote:

当我使用vb8构建应用程序时,它是带有大量文件的setup.exe

然后移动到另一台计算机,它要求通过互联网下载文件

。我如何构建独立的.exe应用程序,以及什么更有效的
- stand alone.exe vs setup.exe installin

compnent?


关于
when I build application with vb8, it is setup.exe with bunch of files
and then moving to the other computer, it request to download files
over the internet. How can I build stand-alone .exe appliation, and
what is more efficient - stand alone.exe vs setup.exe installin
compnent?

regards



是否要求下载文件?这是一个设置,您可以在项目设置页面中打开

或关闭。有些文件应该是

下载的,比如最新的.NET框架。

就个人而言,我更喜欢使用setup.exe安装程序,如果是应用程序

有额外的文件需要安装在不同的地方(例如

帮助文件和数据文件)。如果您要分发的唯一内容是

一个应用程序(没有数据文件)并且您知道目标计算机

将安装所有必需的组件(.NET框架) ,

然后,你可以从/ build目录中复制

应用程序的.exe文件并且只需

将其分发给用户。我没有尝试过这种方式,但是我没有看到任何原因导致它无法正常工作。

It requried files to be downloaded? That''s a setting you can turn on
or off in the Project Settings page. Some files should probably be
downloaded anyway, such as the latest .NET framework.
Personally, I prefer using a setup.exe installer, if the application
has extra files that need to be installed in various places (such as
help files and data files). If the only thing you are distributing is
an application (no data files) and you KNOW that the target computer
will have all the necessary components installed (.NET framework),
then, you miught be able to get awawy with copying the
application''s .exe file from the /build directory and just
distributing that to the users. I haven''t tried it this way, but I
don''t see any reason why it wouldn''t work.

通过网络下载的内容是什么?只是图书馆,或者是什么?
MS从我的电脑收集一些信息?


2月27日上午10点42分,lord.zol ... @ gmail .com写道:
what is exactly downloaded over the network? just libraries, or does
MS gather some info from my PC?

On Feb 27, 10:42 am, lord.zol...@gmail.com wrote:

它需要下载的文件?这是一个设置,您可以在项目设置页面中打开

或关闭。有些文件应该是

下载的,比如最新的.NET框架。

就个人而言,我更喜欢使用setup.exe安装程序,如果是应用程序

有额外的文件需要安装在不同的地方(例如

帮助文件和数据文件)。如果您分发的唯一内容是[...]
It requried files to be downloaded? That''s a setting you can turn on
or off in the Project Settings page. Some files should probably be
downloaded anyway, such as the latest .NET framework.
Personally, I prefer using a setup.exe installer, if the application
has extra files that need to be installed in various places (such as
help files and data files). If the only thing you are distributing is [...]


2月27日上午10:47,Joe < joe1 ... @tlen.plwrote:
On Feb 27, 10:47 am, "Joe" <joe1...@tlen.plwrote:

什么是通过网络下载的?只是图书馆,或者是什么?
MS从我的电脑收集一些信息?
what is exactly downloaded over the network? just libraries, or does
MS gather some info from my PC?



我不知道MS是否正在收集数据(当然,他们已经可以这样做了,完全独立于你的安装人员。

如果您安装程序的计算机需要

.NET框架,而计算机没有它,它将下载并安装它。
下载并安装它。它也可以使用MS安装程序3.1,

,我认为.NET 2.0和ClickOnce(它听起来像你正在使用)两个

需要。

如果您不喜欢下载这些东西,请在

项目设置中查看,我认为该设置称为需要的文件。你

可以禁用这个下载功能。

您还可以使用其他安装程序制造商进行调查,例如

MSIBuilder。

I don''t know if MS is gathering data (of course, they could already be
doing that, completely independently of your installer).
If the computer that you are installing your program onto requires
the .NET framework, and the computer does not have it, it will
download and install it. It can also do this with MS Installer 3.1,
which .NET 2.0 and ClickOnce (which it sounds like you are using) both
require, I think.
If you don''t like this downloading of stuff, look around in the
Project Settings, I think the setting is called "requried files". You
can disable this downloading feature.
You can also investigate using a different installer-maker, such as
MSIBuilder.


这篇关于如何构建.exe独立应用程序以及更好/更快?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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