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

Thread: .net

  1. #1
    Join Date
    Jul 2008
    Posts
    52

    .net

    I have an application I would like to install on a computer without a .net framework. My application cannot download this because web access is protected. Is there a way to get this on my installation disk?

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: .net

    There are some tools that allow for this, but I can not (or will not) recommend any of them. If a computer does not have the .Net framework installed, then it is not up to date. There are going to be other issues. Computers should be kept up to date, and this means having the framework installed.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    Jul 2008
    Posts
    52

    Re: .net

    Thank you for your response. That is a good enough answer

  4. #4
    Join Date
    Dec 2007
    Location
    South Africa
    Posts
    263

    Re: .net

    First of all i dont agree with the Answer by TheCPUWizard

    When a Computer does not have .NET Framework , it does not mean that the Computer is not up to date. What if i dont Develop .NET Apps, does that mean my Computer is not upto date. i dont agree. Secondly For a .NET application to run, you need a .NET Framework. Now for now Microsoft has not catered for your request , mybe in the future .NET Versions, you will find something like that. The Setup Project does not have those Capabilities, the only thing you can do when you ship your Application on the CD for Installation , just include the .NET Framework Setup, if the Client Computer does not have .NET installed then go and install it manually.


    Hope this is clear and t helps

  5. #5
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: .net

    There are lots of newer programs that do require the dot net framework. It doesn't matter if you do any kind of development the frame should still be installed and if it is not then it will soon need to be if you are planning to run new software.

  6. #6
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: .net

    Quote Originally Posted by vuyiswam
    First of all i dont agree with the Answer by TheCPUWizard

    When a Computer does not have .NET Framework , it does not mean that the Computer is not up to date. What if i dont Develop .NET Apps, does that mean my Computer is not upto date....<snip>
    A computer is up to date if and only if all (non-Optional) items from Microsoft Update and all applicable HotFixes are installed, along with any and all updates for every 3rd party program.

    Microsoft Update includes the .Net Framework. Infact for Windows Server 2003 and 2008 as well as Vista, the system itself is dependant on the Framework and it is pre installed.

    It has NOTHNIG to do with your development efforts.You may not do ANY development, ever.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

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

    Re: .net

    The Setup Project does not have those Capabilities, the only thing you can do when you ship your Application on the CD for Installation , just include the .NET Framework Setup, if the Client Computer does not have .NET installed then go and install it manually.
    WRONG! You just select the option to install whatever framework that you're deploying to, and it will either download it from the same site, or go to windows update to silently install.

    There are a lot of versions out there. I doubt WU will install them all (this year) in Express mode. Anyone an get them using the CUSTOM button.

    Just like Silverlight. That's getting pushed out.
    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!

  8. #8
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: .net

    dglienna is correct.

    I also want to point out that the recommended method of installing the framework is via download from Microsoft. This is because it is the only feasible method is ensuring that the latest information is what gets installed on the target machine.

    I follow this paradigm, and also include the install on the CD but do NOT ever automatically launch the CD based framework. If the computer can not connect to the internet then I bring up a dialog box and explain the situation and the options to the user.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  9. #9
    Join Date
    Jul 2008
    Posts
    52

    Re: .net

    Quote Originally Posted by dglienna
    WRONG! You just select the option to install whatever framework that you're deploying to, and it will either download it from the same site, or go to windows update to silently install.

    There are a lot of versions out there. I doubt WU will install them all (this year) in Express mode. Anyone an get them using the CUSTOM button.

    Just like Silverlight. That's getting pushed out.
    You mention selecting the option to install whatever framework I'm deploying to.
    are these the options listed in "Prerequisites" button under the Publish tab?
    and if I don't know the framework of the client computer is there any harm in selecting
    them all? My program is pretty simple and I'd like it to run on just about any computer
    within reason. and only download from the internet as a last resort.

  10. #10
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: .net

    Quote Originally Posted by PaulJayKnight
    You mention selecting the option to install whatever framework I'm deploying to.
    are these the options listed in "Prerequisites" button under the Publish tab?
    and if I don't know the framework of the client computer is there any harm in selecting
    them all? My program is pretty simple and I'd like it to run on just about any computer
    within reason. and only download from the internet as a last resort.
    When you build your program it targets a specific version of the framework...

    VS-2001 = Version 1.0 of the Framework
    VS-2003 = Version 1.1 of the Framework
    VS-2005 = Version 2.0 of the Framework (may include extensions)
    VS-2008 = You get to specify in the project properties! up to V3.5

    You can also specify via peoprties in your project the minimum and maximum acceptable version of the framework. Typically this is used to
    insure that certain service packs are installed....
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

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

    Re: .net

    Not to mention VB10, and Net 4.0 !
    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!

  12. #12
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: .net

    Quote Originally Posted by dglienna
    Not to mention VB10, and Net 4.0 !
    Soon my friend, soon........
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

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