PDA

Click to See Complete Forum and Search --> : [02/03] how to attach framework with a program???


snakegaer
Oct 26th, 2007, 01:00 PM
hello

I'm using vb.net 2003 which needs framework 1.1V. now if i take a program that i have made to another computer it won't work if framework is not installed. how could i attach my program to framework using "setup and deployment projects" in vb.net so that it install the framework files to make any computer can run the program the it install the program

is that possible??

Hack
Oct 26th, 2007, 01:09 PM
Moved to Applications Deployment

Negative0
Oct 26th, 2007, 01:10 PM
I wouldn't recommend deploying the framework for a few reasons:

1.) If a user already has the framework, that is a wasted additional download of about 25mb.
2.) If you create your setup package today and Microsoft releases a framework update tomorrow, your program will be deploying an old version of the framework.

If I remember correctly, a setup package created in .Net 2003 Setup and Deployment Projects has a Launch Condition that the .Net Framework exists. If it doesn't exist, it will take the user to the download page for the framework. This will ensure that the user always gets the most up to date version of the 1.1 framework for your app.

alex30
Oct 27th, 2007, 11:17 AM
see this thread:
http://www.vbforums.com/showthread.php?t=360427