Results 1 to 5 of 5

Thread: [RESOLVED] Adding .Net Framework In my Project Deployment

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    20

    Resolved [RESOLVED] Adding .Net Framework In my Project Deployment

    I want to add .net framework with a checkbox to the user to ask whether they want the .NET framework to be installed it or not in the setup project can u please help.......
    Thank You

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Adding .Net Framework In my Project Deployment

    Don't ask the user. They need it to run your app so just install it if it's not already there. A .NET 2.0 installer will bootstrap the Framework installer by default. If the user doesn't already have the Framework installed it will be downloaded and installed on demand. You can also include the Framework with your installer by selecting the appropriate option when creating your installer.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    20

    Re: Adding .Net Framework In my Project Deployment

    Quote Originally Posted by jmcilhinney
    Don't ask the user. They need it to run your app so just install it if it's not already there. A .NET 2.0 installer will bootstrap the Framework installer by default. If the user doesn't already have the Framework installed it will be downloaded and installed on demand. You can also include the Framework with your installer by selecting the appropriate option when creating your installer.
    But i want a checkbox to be added which will let the user decide whether he wants to install it or not

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Adding .Net Framework In my Project Deployment

    Why? What point is there in asking the user whether they want to install a component that is essential for the running of the application they are installing. That's like a car dealer asking you whether you want an engine. If the user chooses not to install the Framework then they can't run your app, so why are they installing it?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Frenzied Member zuperman's Avatar
    Join Date
    Dec 2000
    Location
    Portugal
    Posts
    1,033

    Re: Adding .Net Framework In my Project Deployment

    you can use inno setup for that...
    include the .net installer, define component and run if user selects that component... search in the newsgroups
    http://news.jrsoftware.org/cgi-bin/h...ords=framework

    but why do you want an option for the user...??? it must be installed to run your application...

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