Check for framework 2

kapakra

Member
Joined
Sep 26, 2006
Messages
6
Programming Experience
Beginner
Hiya

I was woundering is there a way to make a check for the .net framework 2 that can be run when trying to open a application, and if it not installed force the user to install it.

Im building a update program for work, it will get files from a server and install as needed but because we have so many pcs some with and some with out .net 2 i was woundering if this can be built in.

Many thanks

Bob
 
Indeed there is, ClickOnce deployment allow you to make setup check if framework is present and install if not. Go to Project properties and Publish tab, click 'Prerequisites' button and select 'Create setup' and make appropriate choice for framework.
 
Back
Top