Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 29th, 2004, 12:50 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating stand alone exe

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

thanks in advance,
bharathi.

Reply With Quote
  #2 (permalink)  
Old November 29th, 2004, 10:11 AM
Friend of Wrox
 
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old November 30th, 2004, 02:18 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
rgds,
bharathi.

Reply With Quote
  #4 (permalink)  
Old November 30th, 2004, 08:35 AM
Friend of Wrox
 
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating EXE in java satyabrata_majumder Java GUI 4 August 28th, 2013 06:44 AM
Creating EXE from VBA - Excel raj_phoenix Excel VBA 8 June 22nd, 2012 05:49 PM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
problem n creating exe file dawngeorge VBScript 0 December 4th, 2004 03:48 AM
How to creating an exe file ? JAVA J2EE 2 May 20th, 2004 05:46 AM



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


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