-
August 19th, 2005, 08:16 AM
#1
Run Time Environment
Hi All,
I have recently ported from VC++6.0 to VC++7.1 .NET.
I have both development machines and deployment machines.
What do I need to have on a PC to just run .NEt executables?
Are there dlls etc I need or must I install the framework?
I do not want the whole dev environment on my deployment machines.
Thanks.
-
August 19th, 2005, 08:44 AM
#2
Re: Run Time Environment
What kind of application do you have? Does it use managed code or not? If so, you need the .NET Framework installed on the target machine.
To get a complete list of dlls required to run use Dependency Walker.
-
August 19th, 2005, 08:52 AM
#3
Re: Run Time Environment
I am building a .NET .exe - I want to be able to run and install this software on all other machines without intsalling >NET components?
I don't understand what you been by managed code?
-
August 19th, 2005, 09:02 AM
#4
Re: Run Time Environment
Originally Posted by clodagho
I am building a .NET .exe - I want to be able to run and install this software on all other machines without intsalling >NET components?
I don't understand what you been by managed code?
That won't work, you will the .NET framework if you want to run a .NET application, because .NET code (Managed Code) is not machine code, much more something like the bytecode from Java, which needs interpretion.
-
August 19th, 2005, 09:06 AM
#5
Re: Run Time Environment
Is this .NET framework available free like Java so it would not need a license for every machine my code is installed on.
What if I used the dependancy walker and copied all the dlls to the runtime machine?
-
August 19th, 2005, 09:15 AM
#6
Re: Run Time Environment
Originally Posted by clodagho
Is this .NET framework available free like Java so it would not need a license for every machine my code is installed on.
What if I used the dependancy walker and copied all the dlls to the runtime machine?
Yes it is. You are free to contribute it with your application.
This won't work, since the .NET framework itself must be registered and assigned with the .NET executeables. And this wourk should only be done by the .NET framework installer software.
-
August 19th, 2005, 09:19 AM
#7
Re: Run Time Environment
Another question where do I get the InstallSheild for .NET?
I presume this will package up all the neccessary dlls?
-
August 19th, 2005, 09:21 AM
#8
Re: Run Time Environment
Originally Posted by clodagho
I don't understand what you been by managed code?
Managed C++ code is the C++ code that runs in the .NET environment (you know garbage collector, JIT-compiler, etc, etc.). Just like C# or VB.NET, when you compile a Managed C++ code it doesn't produce native code (machine dependant code), but MSIDL code (a MS specific intermediar language), which is translated at run-time by the JIT-compiler in native code, which is later ran.
So, what kind of application do you have. You should know at least that.
-
August 19th, 2005, 09:35 AM
#9
Re: Run Time Environment
Originally Posted by clodagho
Another question where do I get the InstallSheild for .NET?
I presume this will package up all the neccessary dlls?
I think InstallShield software is not free. But you can download a trial copy here. If you have Visual Studio .NET installed you should be able to create setup projects using Microsoft Installer (msi).
-
August 22nd, 2005, 10:01 AM
#10
Re: Run Time Environment
On the machine I just want to be able to run the code on I installed .NET Framework 1.1 and Service Pack 1. On my machine with the full .NET studio I built my project and copied the .exe to my deployment machine. When I tried to run I got errors about MFC71u.dll missing. Are the dlls not installed as part of the .NET Framework?
-
August 22nd, 2005, 10:12 AM
#11
Re: Run Time Environment
Originally Posted by clodagho
On the machine I just want to be able to run the code on I installed .NET Framework 1.1 and Service Pack 1. On my machine with the full .NET studio I built my project and copied the .exe to my deployment machine. When I tried to run I got errors about MFC71u.dll missing. Are the dlls not installed as part of the .NET Framework?
MFC is not a part of the .NET framework. It is something complete different. But you can also freely ship this DLL with your program.
-
August 22nd, 2005, 10:31 AM
#12
Re: Run Time Environment
MFC71U.dll isn't even on the machine I built the app on!
If I installed the app on the deployment machine using InstallSheield would the MFC dlls be installed?
-
August 22nd, 2005, 10:37 AM
#13
Re: Run Time Environment
Originally Posted by clodagho
MFC71U.dll isn't even on the machine I built the app on!
If I installed the app on the deployment machine using InstallSheield would the MFC dlls be installed?
This DLL should come along with Visual Studio .NET 2003. Does your app run on your machine? If so check out your system32 directory for this file. Or use Dependency Walker to achieve with DLL's are needed by your application.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|