Click here to Skip to main content
16,020,622 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
HI

Do you know the software That it can be run programs(WAP(EXE) =>vb.net) without Installation (Microsoft .NET Framework)?

TanX
Posted

Can we do this?

We will copy the required files(.Net Framework).By a vb6 application,after we can run vb.net application.
 
Share this answer
 
Comments
Manoj K Bhoir 26-Nov-11 9:10am    
I don't think so!
fjdiewornncalwe 26-Nov-11 12:41pm    
Just get the end-users to install the dotNet framework. It will save you a ton of useless pain and suffering trying to get this to work any other way.
Sergey Alexandrovich Kryukov 26-Nov-11 19:21pm    
Correct.
--SA
I also agree with above two solutions baecause you can not run any Exe file without Microsoft .Net Framework.

To run any Exe File it requires Windows Installer And .Net Framework.
Bacause .Net Framework contains the all basic classes in the form of dll's which are required to run any Windows Aplication Program.

If you want to run Application without installing Microsoft .Net Framework then try to design application using .Net Framework 2.0.
beacuse as per my knowledge when you install any OS on system it automatically installs Microsoft .Net Framework 2.0.

If you are developing an pplication using .Net Framework 3.5 and you want to run application where .Net Framework 3.5 not installed then you must have to install .Net Framework 3.5.

[Warning, everyone! This "solution" contains several obviously false statements and should not be taken into account; please see my comments below — SA]

 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 26-Nov-11 19:04pm    
This is plain lie: "To run any Exe File it requires Windows Installer And .Net Framework."
Any native (unmanaged) program does not require .NET, which was introduced not long ago.

"Bacause .Net Framework contains the all basic classes in the form of dll's which are required to run any Windows Aplication Program." -- same thing, plain lie.

"per my knowledge when you install any OS on system it automatically installs Microsoft .Net Framework 2.0" -- you don't have knowledge on this matter.

"If you are developing an pplication using .Net Framework 3.5 and you want to run application where .Net Framework 3.5 not installed then you must have to install .Net Framework 3.5." -- this is half-true: it has nothing to do with "using .NET Framework", it all depends on target platform as a property of assembly to be compiled.

Look, it's very destructive to try to answer questions here with such level of knowledge. When answering any question, be sure to double check your information, test the sample code, refer to official original documentation. People rely on the experts answers, so you need to answer responsibly.

--SA
I'm not sure that Marcus understood the question correctly. Are you looking for a ways to run a .NET application without installation of .NET?

Basically, Marcus is right: this is not possible. I would add: it also makes no sense as all .NET Frameworks come free of charge for legal Windows users; and it's easy enough to deploy re-distributable .NET Framework with your application. Or demand it as a prerequisite — this is your choice. Only a most extreme looser won't get it. :-)

However, I come across two approaches to avoid installation of .NET. They come with other, more important features and — unfortunately — are based on proprietary commercial products. See:
http://www.remotesoft.com/linker/[^] (looks more interesting),
http://spoon.net/Studio/Features[^].

Disclaimer



This is not advertizement! Maybe I'm not supposed to mention any commercial products at CodeProject, but my goal was exclusively to provide comprehensive help to best of my own knowledge. I do not have any affiliation with the teams marketing and selling the referenced projects, nor I have any interest in promoting them.

—SA
 
Share this answer
 
Comments
fjdiewornncalwe 26-Nov-11 12:40pm    
Nice addition to my answer. I didn't know about these products and consider myself to have learned something new today.
Sergey Alexandrovich Kryukov 26-Nov-11 18:55pm    
Would be interesting to try.
Thank you, Marcus.
--SA
If the application was written to use the .net framework, then you will need to have the appropriate .net framework installed on the target machine.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 25-Nov-11 19:06pm    
I'm not 100% sure that OP means exactly this.

I voted 5, because this is basically a correct answer. In my solution, I added some more information to it and I used to answer the same exact way only recently. However, later on I came across some solutions which makes avoiding .NET installation possible. At the same, I don' think this requirement along makes practical sense.

Nevertheless, I added this information for better completeness of the solution -- please see.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900