building application without .NET framework
building application without .NET framework
building application without .NET framework
building application without .NET framework
building application without .NET framework
building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework
building application without .NET framework building application without .NET framework
building application without .NET framework
Go Back  Xtreme Visual Basic Talk > > > building application without .NET framework


Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2006, 02:24 PM
ron24 ron24 is offline
Newcomer
 
Join Date: Jan 2006
Posts: 2
Default building application without .NET framework


hi
is there a way to compile visual basic application using visual studio 2005
that will not need the .NET framework installed on the PC running the application.


thanks
Reply With Quote
  #2  
Old 01-30-2006, 03:18 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

No
__________________
170 10101010 410 J31^170
Reply With Quote
  #3  
Old 03-16-2006, 03:32 PM
mcgilles mcgilles is offline
Regular
 
Join Date: Sep 2004
Posts: 85
Default

is there any way to fake it? with VB6 you can run a program on a computer which does not have the VB run time dll installed on it, you just put that DLL in the same directory as your EXE. this is a necessary capability for doing things like making an autorun program to burn on a CD which will give the user the option to install your program. so is there no way to do this at all with a VB.NET program? that is so crappy that MS couldn't just make a way to compile an EXE with everything you need in it in order to run. I'd prefer not to have to go back to VB6 to make autoruns for my VB2005 apps.
Reply With Quote
  #4  
Old 03-16-2006, 08:36 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

Quote:
is there any way to fake it?
No
__________________
170 10101010 410 J31^170
Reply With Quote
  #5  
Old 03-17-2006, 08:30 AM
reboot's Avatar
rebootbuilding application without .NET framework reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

I'm thinking maybe by_m isn't being clear enough, so I'd like to take a stab at answering your question.

No.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #6  
Old 03-17-2006, 10:36 AM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

Learned my question answering from the best...
__________________
170 10101010 410 J31^170
Reply With Quote
  #7  
Old 03-18-2006, 06:29 PM
esposito's Avatar
esposito esposito is offline
Contributor
 
Join Date: Jul 2003
Location: Perugia - Italy
Posts: 456
Default

Quote:
Originally Posted by mcgilles
is there any way to fake it? with VB6 you can run a program on a computer which does not have the VB run time dll installed on it, you just put that DLL in the same directory as your EXE. this is a necessary capability for doing things like making an autorun program to burn on a CD which will give the user the option to install your program. so is there no way to do this at all with a VB.NET program? that is so crappy that MS couldn't just make a way to compile an EXE with everything you need in it in order to run. I'd prefer not to have to go back to VB6 to make autoruns for my VB2005 apps.
Try Salamander (http://www.remotesoft.com/linker/). It appears like it has its own DLL it makes your application reference and, from there, it points it to the .Net DLLs needed to run the application (all of which it automatically gathered and placed in the same directory) so you end up with pieces of the framework in your application's folder.

This way you avoid installing the entire framework. In theory, it shouldn't be too hard to do. Grab the .Net DLLs and make a customer DLL that points your application to them instead of needing the entire framework installed.

The following is an excerpt from Salamander's official Web site:

Quote:
Salamander .NET Linker and mini-deployment tool allows you to link .NET assemblies together into a single file, and to deploy your application without installation of the whole Microsoft .NET Framework. The linker selectively links MSIL code putting together only the required classes and methods, and it is capable of linking into the Microsoft .NET framework class libraries. The mini-deployment tool then builds a minimum set of the Microsoft .NET runtime to ship with your application. This usually results in installation size of a few mega bytes, rather than tens of mega bytes, and the installation takes much less time without rebooting machines. The mini-deployed application can be launched directly from a CD, absolutely without copying files or adding registry entries. Starting from .NET 2.0, a native compilation feature will be introduced to compile all managed assemblies into x86 machine code, and thus improves performance and stops disassembling and decompilation. Not even a single MSIL instruction will be ever delivered to your customers.

Microsoft .NET Framework is by any standard a significant installation that one would easily notice; some users may not be willing to install it at all. On the other hand, there are still many PCs that may not be suitable for .NET framework installation. This tool helps you to reach more customers as it silently deploys a trimmed down version of the framework without any noticeable effects and conflicts. The framework itself appears as an integrated part of your own application. The deployed application runs from an isolated directory without conflicts with future installation of the full .NET framework.
Reply With Quote
  #8  
Old 03-19-2006, 11:05 AM
reboot's Avatar
rebootbuilding application without .NET framework reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

I guess that's a viable solution if you don't mind paying $1250 just to avoid deploying the .net framework (which will be pre-installed on future Microsoft OSes anyway).
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #9  
Old 03-19-2006, 11:20 AM
esposito's Avatar
esposito esposito is offline
Contributor
 
Join Date: Jul 2003
Location: Perugia - Italy
Posts: 456
Default

Quote:
Originally Posted by reboot
I guess that's a viable solution if you don't mind paying $1250 just to avoid deploying the .net framework (which will be pre-installed on future Microsoft OSes anyway).
Yes, but Salamander gives you the "necessary capability for doing things like making an autorun program to burn on a CD which will give the user the option to install your program."
Reply With Quote
  #10  
Old 03-19-2006, 02:46 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

You can, just package the .Net framework with your installation. Easy to do with INNO or similar, built in capability in vs.net 2005...I did it with vs.net 2002 actually, and I didn't use either of those, just a little C++ program that takes no time to make.
__________________
170 10101010 410 J31^170
Reply With Quote
  #11  
Old 03-20-2006, 02:21 AM
esposito's Avatar
esposito esposito is offline
Contributor
 
Join Date: Jul 2003
Location: Perugia - Italy
Posts: 456
Default

Quote:
Originally Posted by by_m
You can, just package the .Net framework with your installation. Easy to do with INNO or similar, built in capability in vs.net 2005...I did it with vs.net 2002 actually, and I didn't use either of those, just a little C++ program that takes no time to make.
Do you mean you can create a setup package that checks whether the .NET Framework is present on the user's machine and, if it isn't, it installs it?

Is it possible to do it with VS?
Reply With Quote
  #12  
Old 03-20-2006, 11:03 AM
reboot's Avatar
rebootbuilding application without .NET framework reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

Yes.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
building application without .NET framework
building application without .NET framework
building application without .NET framework building application without .NET framework
building application without .NET framework
building application without .NET framework
building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework building application without .NET framework
building application without .NET framework
building application without .NET framework
 
building application without .NET framework
building application without .NET framework
 
-->