By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 723 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

How to Build an .exe file to run on a no installed .Net framwork workstation

P: 14
Hi

Is there a way to run a windows application created in VB 2005 express on other computers which have no .NET framwork installed on them?

Regards

MulM3h
Mar 16 '07 #1
Share this Question
Share on Google+
4 Replies


dorinbogdan
Expert 100+
P: 839
1. You can't run a .Net application without the Framework. The Framework comes with Windows 2003, which is more recent than Windows XP. At this point, the only thing you can do is install the Framework.

If you were just trying to avoid the user needing to go out and download the .NET framework, you can provide a "bootstrap" version of your software. To do this you'll just have to modify your distribution files to install the .NET framework before installing your software i.e. change the "setup.exe" for your software to first install "dotnetfx.exe" which can be obtained from Microsoft.

2. Or, you can include all libraries in the exe file using a third party tool like Thin Install.
Mar 16 '07 #2

P: 14
The problem is this:

I created my final year project in vb 2005 however all computer in my university didnt have .NET installed even they are Windows XP machines.

Also I need to add is that those machines have access rights, which do not allow users to install anything to them, this is not the problem because my .exe file i got from /Debug/Bin/Myproject.exe do not required any installation. it's a standalone application runs on its own.

Are there any other way to work round that, eg. settings in vb 2005 to make it create a build exe doesnt rely on .NET or install any third party software?
Mar 19 '07 #3

dorinbogdan
Expert 100+
P: 839
At this point, the only thing you can do is to ask system administrator to install the Framework, or to use your computer.
Mar 19 '07 #4

100+
P: 149
Hi

Is there a way to run a windows application created in VB 2005 express on other computers which have no .NET framwork installed on them?

Regards

MulM3h
Hi ,

There is no way out. You have to run .NET FrameWork 2.0 (dotnetfx.exe) on all those computers on which you need your application to be executed.

thanks
ansuman

www.mindfiresolutions.com
Mar 19 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.