how can one build .exe standalone application and what's better/faster?

J

Joe

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
 
L

lord.zoltar

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

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.
 
J

Joe

what is exactly downloaded over the network? just libraries, or does
MS gather some info from my PC?
 
L

lord.zoltar

what is exactly downloaded over the network? just libraries, or does
MS gather some info from my PC?

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.
 
S

SAL

You could also just use the setup bootstrap example provided by Microsoft.
You can read up on it here:
http://www.microsoft.com/downloads/...fd-1efc-4fc5-ba7e-6a6f21403495&displaylang=en

But basically you'll modify the setup.ini file supplied to point to the
dotnexfx.exe file and also place the setup.exe file in the deployment
folder. It works pretty slick. The setup.exe checks to see if the correct
version of the framework is installed and proceeds accordingly.

HTH
S

Joe said:
what is exactly downloaded over the network? just libraries, or does
MS gather some info from my PC?



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
[...]
 
A

aaron.kempf

I'd just reccomend using vb6; the runtime is included with windows

no installer. just copy the friggin EXE to your clients machine

anything else is called 'unnecessary complexity'
 
H

Herfried K. Wagner [MVP]

Joe said:
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?

Note that each VB executable requires the .NET Framework on the client
machine:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en>

XCOPY Deployment is not suitable for most scenarios in which you do not have
control over the software used on the client machines.
 
M

Michael D. Ober

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.

Copying the exe files works just fine as long as you already have the
framework installed. Now if you use non-framework components, you'll still
need the setup program.

Mike Ober.
 
L

lord.zoltar

Probably I cannot compile vb8 as vb6 appliaction, can I ? :)

No you can't. But in general, it's best to ignore the "aaron kempf
entity" (there are several users whose posts look like they are
written by aaron kempf, but aaron insists they are different people),
as it is just a whiny, obnoxious troll, whose signal-to-noise ratio is
so low there's really no point anymore in reading anything he/she/it
posts.
Welcome to the group! ;)
 
J

Joe

thanks :)


No you can't. But in general, it's best to ignore the "aaron kempf
entity" (there are several users whose posts look like they are
written by aaron kempf, but aaron insists they are different people),
as it is just a whiny, obnoxious troll, whose signal-to-noise ratio is
so low there's really no point anymore in reading anything he/she/it
posts.
Welcome to the group! ;)
 
A

aaron.kempf

eat shit fag

I have a valid point. Vb6 _WORKS_
VB.net does not.

..NET is .NOT on any desktops to take your visual fred and mother
****ing shove it up your ass
 
C

Chris Mullins [MVP]

You can build a stand-alone exe using one of several tools:

http://www.remotesoft.com/linker/index.html (I've used this one with
excellent results)
https://thinstall.com/solutions/net_virtual.php (never tried this one)
http://www.xenocode.com/ (never tried this one)

We use RemoteSoft to build Zero-Dependency installation packages, WinForms
applications that are intended to run on older computers that don't support
the .Net 2.0 framework, and for a few other things. It's worked out very
well, overall.
 
S

susiedba

I never insisted that they are different people.
I just am not Master Programmer.

MP is the only other person around here that had a clue
 
S

susiedba

Now we're getting somewhere.

Now if MS would just include that natively in this .NET crap then
maybe I'd give a ****

as it is; nobody has the framework.

Vista doesn't support VB 2002,2003 or 2005.

VB6 works _PERFECTLY_
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top