application needs framework

tirso

Active member
Joined
Nov 15, 2006
Messages
31
Programming Experience
1-3
Hi! I am a beginner for using visual basic 2005 express edition, I made windows form application but when I deployed to another PC the error occured "install .net framework 2.0" Do I need to install this to all the PC that my application will be use. Please help me what I need to do.

Any suggestion is greatly appreciated

thank's in advance
 
Thanks for the reply, where could I get that .Net 2.0 framework? it is free downlonable. It is posible that if that application will be install, the said software included to the installation. Where could I find some help for setting properties of the projects step by step?

Thanks again

Tirso
 
Available from Microsoft http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx

If you create setup with ClickOnce (Project properties, Publish tab) you can include it in different ways with Prerequisites, just click the button and make the choices. For example installer can check if framework is present and if not it download and install it automatically before proceeding with application install.
 
Thanks for your time. Actually I choose "download prerequisites from the same location as my application" so I copied the (dotnetfx.exe) file into C:\deployment\myapplication which is my application was published. But the errors appear "Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk"

I tried another one option "download prerequisites from the following location" so I copied the (dotnetfx.exe) into \\icarus\Tirso\installer\wcu\dotnetframework which is the directory I browse, but still the error is Error 4 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\dotnetfx.exe' in item '.NET Framework 2.0' can not be located on disk"

a million thanks is not enough to say with you even until now I couldn't solve my problem but the thought is your time for replying me.

Tirso

 
I already have the framework installed, so I can't test any of these scenarios without uninstalling. Searching the web came up nothing related.
 
I am facing the same problems and it can be solved by:

1. In your web browser, go to http://go.microsoft.com/fwlink/?LinkId=37283 and save the file to '<Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'. An example of the VS install directory is 'C:\Program Files\Visual Studio 8'

2. Also save the files at http://go.microsoft.com/fwlink/?LinkId=37285 and http://go.microsoft.com/fwlink/?LinkId=37287 to the same location, <Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'.

3. To solve this same problem for SQL Server Express, then go to http://go.microsoft.com/fwlink/?LinkId=3728 and save the file to '<Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\SqlExpress\en'

4. Then return to the prerequisites dialog and select 'Download prerequisites from the same location as my application.'

5. Publish

6. Look for the directory that you had previously specified to be published to. All the installation file will be there.

Cheers.
 
Back
Top