hey,
how can i run .NET apps without .NET installed?
or in other words, how can i use mscorjit.dll, mscorwks.dll, mscorwks.dll and some other dlls, depends on (my app) what components my app is using (ex: if is a win forms app then System.Windows.Forms.dll is required, but not only) from BCL?
-
-
You can't

They all require the CLR and the CLR depends on the BCL which depends on the CLR. And so on -
so, what i need is to understand this dependence and so on.
-
W3bbo wrote:CLR depends on the BCL..
what?
EDIT: ye sorry i forget about CTS and CLS. -
You need to install the .Net framework. The easiest way to do that one machine is Windows Update. If you want to redistribute the runtime, check Microsoft's download site.
Here's the link for version 2.0 -
-
If you have access to the source code, you could buy a linker and compile it all into one monolithic executable. There's a couple out there if I recall correctly, I think the cheapest one was around $500 USD.
-
W3bbo wrote:
There is a similar method to include a bootstrap installer for 1.0 and 1.1 as well.
I did one once and it was quite easy. You create an msi project and make sure to download the .net bootstrap installer to have it included in the .msi file. It is very small, too.
-
-
Ion Todirel wrote:hey,
how can i run .NET apps without .NET installed?
or in other words, how can i use mscorjit.dll, mscorwks.dll, mscorwks.dll and some other dlls, depends on (my app) what components my app is using (ex: if is a win forms app then System.Windows.Forms.dll is required, but not only) from BCL?
This isn't a feature that's native to the .NET Framework. Jason Zander, the .NET Framework GM had a good post on the subject that goes through the decision process for why the .NET Framework doesn't have a linker.
You can, as someone else mentioned, use 3rd party tools like Remotesoft .NET Linker (now with 2.0 support) for this.
Hope this helps,
-Dan -
You can also add the .NET Framework to your images if you are a corporate and fulfill the dependancy that way. The .NET Framework is a great tool and doesnt have that much overhead or complexity.
-
yeah, you need a linker. RemoteSoft works - your apps are going to be between 5-10 mb instead of 400k though. There are some other linkers but their licensing schemes are wacked. I've tried remotesoft and it works, if you can deal with the size factor

-
I think the availablity of the .Net framework ,both 1.1 and 2.0, in customers pcs by default is important for developers everywhere who choose to develop using .net framework (VS2005).
Its unfortunate that microsoft did n ot step up efforts to make 2.0 available in at least 90% of most people's PCs from Win 98 to Vista.
Now developers like myself and others, have to tell their users to download the Large .net framework file, in their pcs, and some have no high speed some have the good old dial up. So its sucks from this prespective. -
do you know other linkers? $1000 for a linker :O
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.