p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   General .NET (http://p2p.wrox.com/forumdisplay.php?f=122)
-   -   creating stand alone exe (http://p2p.wrox.com/showthread.php?t=21833)

mr_bharathi November 29th, 2004 12:50 AM

creating stand alone exe
   can anyone help me out in creating a stand alone exe, (ie) it should run in a machine without .net runtime.....

thanks in advance,

pradeep_itguy November 29th, 2004 10:11 AM

Without .NET runtime it is not possible to execute an .NET exe.

It is not how much we do,
but how much love we put in the doing.

-Mother Theresa

mr_bharathi November 30th, 2004 02:18 AM

thanks pradeep,
   But what i thought was, If i am creating a small utility software and want to distribute to others, i cannot expect .net runtime in all the machines. Is there any way to pack runtime also in my setup and if it is not there in the target machine, gets installed automatically.

pradeep_itguy November 30th, 2004 08:35 AM

Microsoft has made the .NET runtime platform installation (dotnetredist.exe) available as a free download from Microsoft .NET Framework Redistributable . You can download this and install this exe before you install your application on the target machine.

Also before installing the .NET framework on your system you may want to check whether it is installed previously or not, for that you can write a simple script to check whether there is a directory named "C:\WINNT\Microsoft.NET\Framework" or else the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewo rk", if either of them exists then we can say that the .NET framework is installed on that machine and skip installing the redistributable package.

Hope this helps!

It is not how much we do,
but how much love we put in the doing.

-Mother Theresa

All times are GMT -4. The time now is 10:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.