Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Im coding with VB.NET 2010 and im programming a software for the school. Now most of the computers havent yet NET Frameworks installed.(PS: all computers are x86 based, Operation Systems "XP", alright)

I came to the idea that i just have to copy the folder _
"C:\WINDOWS\Microsoft.NET\Framework\v.2.0.50727" which is Net.Framework 2
and just paste it on the other computers Microsoft.NET directory and my software will run after it?
because a common setup installation would take about 10 15 minutes, and just pasting it to the other computers will take less time?

My question is, is that all what folder "v.2.0.50727" contains or are some files somewhere else or what about if i have to copy reg keys from the registry(editor) which may belong to net2 and which are hardly needed?

PS: If somebody could refer me to a webpage where i can find all those files, maybe i will make a personal setup installer which will not prompt to install just run lets say hidden in background, just a doubleclick and it will do its thing?

if i dont get any replys i will get executed:P
Regards begi
Posted
Updated 3-Apr-12 8:52am
v2

No just copying the folder will not install the .NET Framework properly. There are many other things happening in the background when running the .NET Framework setup application, such as registry setting and security updates.
 
Share this answer
 
Comments
[no name] 3-Apr-12 15:15pm    
thanks for your reply, i expected that it wouldnt work, but anyway, if youre possessing advanced knowledge about vbnet programming, can you tell me if possible how to integrate net framework 2 into my software, which will run at formload or whatever and install net 2 and after it it will run my software?
sorry for the inconvenience
regards begi
[no name] 3-Apr-12 15:29pm    
The framework will need to be installed BEFORE you can run your application. The best way its to create a setup for your app and include the framework. Please read about creating a setup application in visual studio
Mark is correct. You can not just copy the folder. If you want to manually install the .Net Framework on every computer you should use windows update to do it. But really, that's not the nicest solution. Your best option is to create some kind of deployment package. If you want to deploy your app on the web you could look into use ClickOnce, which you can research here[^]. Otherwise you should look at a setup or deployement project. Try Here[^] for help with that. You could also use a third party product to create a setup.exe for your app...but if you're just starting out you'll probably find more help using a standard microsoft method.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900