Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Redistributing .Net 2.0 framework

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew Copeland - 16 Jul 2006 22:06 GMT
Hi,

I am thinking about writing an app in C# 2.0 and starting to look into
distribution strategies.

Is it possible to distribute a setup program (VS, Installshield, Wise,
etc.) which dynamically determines if the 2.0 runtime is installed, and
if it is not it installs it from the internet from a resource made
publicly available from Microsoft?

I won't be happy if I have to incur the bandwidth cost of embedding the
2.0 redistributable files in my installation program. It would beg the
question - does MS really think they can get away with shifting the
burden of distributing their future on the backs of ISVs?

If this is the case, any suggestions for small ISV's that cannot afford
to distribute the runtime to interested users who may not even purchase
the software?

This is really a burden for shareware authors. It may force me to write
the app in VB6.

Thanks,
Matthew
dotnetterinternals@hotmail.com - 16 Jul 2006 22:42 GMT
Hello Matthew:

Yes it is possible to detect and point your users to the correct .NET
framework package for either VS 2003 (.NET 1.1 if you still need it )
or VS 2005.

No coding is needed if you use the VS "Setup and Deployment" 's Setup
Project.
The Setup Project project gives you much control over the installation
details for commercial apps.   The Setup Wizard allows allows easier
decision making but perhaps is a little less flexible with
installation.

Take a look at the potential of using the VS 2005 (or VS 2003) "Setup
and Deployment" Project.   Specifically the VS 2003 Setup Project wil
write a setup.ini
for older products as InstallUrl",  to point to the MS deployment  for
dotNET 1.1

[MSILoader]
MSIFileName=Your_Build_Here_Version123.msi
[FXSection]
SupportedRuntimes=1.1.4322
InstallUrl=http://go.microsoft.com/fwlink/?LinkId=9832
Message=1.1.4322
UseDefaultMessage=1

The VS 2005 Setup and Deployment Project will internally reference the
same line:
http://go.microsoft.com/fwlink/?LinkId=9832
but will require the 2.0.50727 version for .NET 2.0 (for example).

By the way, Setup Wizard will place the URL 'hook' inside the
deployment project automagically.  Try deploying the project on a
Windows XP box that does NOT have the .NET runtime installed.  You will
see that that Setup Wizard will call out for the .NET deployment
packages to the Web.

Hope this helps.

> Hi,
>
[quoted text clipped - 20 lines]
> Thanks,
> Matthew
Matthew Copeland - 16 Jul 2006 23:31 GMT
yes it does!!!!

thank you

> Hello Matthew:
>
[quoted text clipped - 60 lines]
> > Thanks,
> > Matthew
Carl Daniel [VC++ MVP] - 17 Jul 2006 04:39 GMT
> Hi,
>
[quoted text clipped - 5 lines]
> and if it is not it installs it from the internet from a resource made
> publicly available from Microsoft?

As already mentioned, the Visual Studio deployment projects support this.
All of the major 3rd party installer products offer similar support, so if
the VS Deployment project doesn't meet your needs, you have lots of other
options.

-cd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.