Creating a setup which installs .NET framework from web site

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I would like my setup to download the framework and install it if needed. I
think this means I need to handle checking to see if the framework is
installed and if not, download it, launch it and then continue the
installation of my application.

Are there any examples of doing anything like this?

Thanks,
Joe
 
Hi Joe,

As far as I know, it is not possible to embed the .Net Framework
installation within a setup project. You can add a Launch Condition on
the .Net Framework from the Launch Conditions editor, which will cause the
installation of the MSI to fail if the .Net Framework is not available on
the user's machine.

Alternatively, you can have a separate program install the .Net Framework
prior to launching the msi. This is commonly known as "bootstrapping", and
Microsoft has published at least 2 tools to help enable this. One tool can
be integrated into Visual Studio 2003:

http://www.gotdotnet.com/community/workspaces/workspace.aspx?ID=2F8F0...

The other is a standalone that tells how you can modify their program to
work well with VS.Net setup projects:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnne...

There are versions of this last one available for either 1.0 or 1.1
versions of the .Net Framework.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top