.NET Framework Bookmark and Share   
 index > .NET Framework Setup > Run .NET windows application without installing .NET Framework
 

Run .NET windows application without installing .NET Framework

I had build a windowsapplication in C#. That application was build inRelease Mode. Now whileI copied that .exe to other machin it was not working.

So could you give some advice on this.

Can I use *ngen.exe* for this purpose?

Thanks & Regards,

Jaydeep

Jr. Software Engg.

Jaydeepsatara

no. you NEED the .NET Framework, and the correct version or the newer version of it to run your application as it was developed on the .NET Framework. you cannot run it without that. Most computers have .NET Framework installed anyway (With Windows update). if you have Vista, then .NET 3.0 comes as shipped by default, WS2003 has .NET 1.1 and so does Windows XP SP2
ahmedilyas

no. you NEED the .NET Framework, and the correct version or the newer version of it to run your application as it was developed on the .NET Framework. you cannot run it without that. Most computers have .NET Framework installed anyway (With Windows update). if you have Vista, then .NET 3.0 comes as shipped by default, WS2003 has .NET 1.1 and so does Windows XP SP2
ahmedilyas

Thank you for your valueable response.

Can I copy the required dll friles with my application.

if yes then which r the impotant *.dll required to copied.

Jaydeepsatara

Well, you should make a setup and deployment project, or clickonce application. This will automatically download and install the .NET Framework before installing your application Smile

Which version of Visual Studio do you have? the express edition only supports ClickOnce whilst the full one supports both.

ahmedilyas

I have a sort-of-related problem. My application needs to be tested on factory equipment where access is tightly controlled, individual users do not have administrator privilege, and installing anything requires a lengthy managerial approval process. We require .NET 2.0,but can get this installed when the machine is built, and this doesn't need to change, so that's OK.

Our problem is how to try new versions of the application, which is a .NET DLL referenced from an Excel application. For older projects using Visual C++,we could just copy over the C++ DLL into the proper path location to make it available to Excel, and it would work without running an installation procedure. With .NET DLL's it appears the installation requiring administrator privilege is mandatory to be able to use the DLL at all.

Is there any way to reference/startup/link/deploy/whatever a .NET DLL without being administrator? Is deployment of the components over the network instead of local installation a possible solution?

My customer just knows this wasn't a problem before, and why can'twe keep doing it the old way... but I don't want to go back to C++!

Thanks,
JS2

joesmith2
We have recently used the following company:

http://www.x2codecreative.com/running_a_.net_application_without_the_.net_framework._obfuscate_and_stop_reverse_engineering.show.147.aspx

They got our .NET application running on a machine with no .NET framework at all. Worked out the box.

I also have heard good things from Thinstall from Vmware.
dotnetukguru

You can use google to search for other answers

Custom Search

More Threads

• Can't install .NET 2.0 runtime???
• .NET 3.0 install or not?
• Enterprise Library for .NET Framework 3.0
• clickonce deployment prerequisite issue
• Published Web Project cannot find .dll in the bin folder
• Windows Installer 3.0 to install .net framework 2.0 - Where to get?
• Incorrect URL in Launch Conditions for .NET Framework
• System.ArgumentOutOfRangeException: Length..
• How to determine what version of .Net framework I have (Vista)
• .NET advantages