CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: A question....?

  1. #1
    Join Date
    Mar 2006
    Posts
    8

    Question A question....?

    If I wanna develop a commercial program in C# which I wanna sell to my customers, is it a common practice to include the .NET Framework in the installation of the program to ensure its proper running?

    Do I need a special permission to include it and etc...
    Anything is welcome... I dunno much about c# so far but I`m very interested in working with it...

  2. #2
    Join Date
    Oct 2005
    Location
    Islamabad, Pakistan
    Posts
    1,277

    Re: A question....?

    ur program will need the framework in which u devloped ur application, installed on the customers machine. the framework redistributable packages are freely available for download.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: A question....?

    Include it if you distribute the app on a CD/DVD, but include a link (and let them know) if they are downloading the app. In a few years, most systems will already have the framework installed. Right now, more than a few have v 1.0 while a few have v 2.0.

    This assumes that they won't keep releasing new versions in the future, though. If they do, then you'd have to include the version that your app uses.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: A question....?

    most installers have automatic .net install actions (to detect & install from either a local merge module, or download & install from the net as part of the install process). the one that comes with visual studio does a good job, and there are pre-packaged merge modules for install shield.

    IMO, if you're writing .net apps, you need to distribute the framework w/ your app as an optional install (skips it if its already installed)

  5. #5
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: A question....?

    My opinion: inlcuding .net framework in sntallation of you programm is like to include windows or ethernet card in your installation. .NET framework is esential part of target environment and you can relay on its presence obn customer's machines. dgliena's advice is maybe the best - just include a link, not framework itself.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  6. #6
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: A question....?

    I would suggest that you r installer should check whether the Framework is installed or not. And if the correct version is not installed then you should redirect the user to the .NET Framework download web-site where they can downlaod it and install it.

    The advantage of this is that if microsoft has released SPs for that framework version, after downloading they will give an option to the user to install those windows updates or SPs.

  7. #7
    Join Date
    Mar 2006
    Posts
    8

    Re: A question....?

    Thank you for your replies. I`ll put it as an optional install (from the CD) if the necessary version isn`t already installed. Relying that people will alredy have it installed isn`t very smart IMO and can lead to big confusions.

    Thany folks, that`s all I needed to know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured