none
how to judge dotnet framework 3.5 SP1 available in client pc during software installation RRS feed

  • Question

  • Hello :

       I encounter a problem that my software need dotnet 3.5 SP1 to run smoothly. When I deploy the software to client pc there was something wrong when client pc did not contain dotnet framework 3.5 sp1 and did not connect to internet. The installing program will show installation error. This problem happened when client pc would like to connect to microsoft website to install dotnet framework 3.5sp1 but found internet is broken.

        My problem is that how could I detect in my deploy installation program  whether client pc dotnet 3.5 sp1 is installed or not and if it did not installed

    and try to connect to microsoft web failed I will terminate the installation process otherwise user might think it is a bug.

          How to do above process? Any comment or tutorials will be appreciated.

     

    Daniel

     

     

     


    Please be patient that if I did not mark your reply to be answered just because I am testing your suggestion. I will reply as soon as I got test result. Anyway I thanks for those who provide programming comment to me. You are an angel to help me create my business and life.
    Friday, July 9, 2010 6:57 AM

Answers

All replies

  • Hi Daniel,

    For your concern, I need to do some clarification with you:
    How did you deploy your application? Via Visual Studio or using other third party software?

    Based on your description, it looks like that you're deploying the bootstrapper of .NET Framework 3.5 SP1 instead of the full package.
    Bootstrapper is a very lightweight setup package, which determines what needs to be installed and attempts to download these required components from the web during installation.
    It means that we need connect to the Internet to complete the installation..

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, July 9, 2010 9:10 AM
  • Hello Yichun:

     

              I adopt VS2008 and create a "installation and deploy" project from VS 2008 to deploy my software. It is correct that I did not include  .NET Framework 3.5 SP1 full package .  But how to avoid the bug happen during the installation when internet is not connected. I could not to make sure each client 's pc always connect to internet or not when they try to install my program.

     

     

    Daniel


    Please be patient that if I did not mark your reply to be answered just because I am testing your suggestion. I will reply as soon as I got test result. Anyway I thanks for those who provide programming comment to me. You are an angel to help me create my business and life.
    Friday, July 9, 2010 3:41 PM
  • Hi Daniel,

    Thank you for your clarification.

    For VS2008 IDE, .NET 3.5 SP1 only has the bootstrapper (web install) included in Visual Studio. This means that we still need to connect to the Internet to complete the installation of .NET Framework 3.5 SP1 during the installation of this software.

    If you want to include .NET Framework 3.5 SP1 in your setup, please follow the steps that mentioned in Visual Studio 2008 SP1 readme - General Issue to enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package.

    For similar concern, please see: http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/8cc89b56-2378-43ad-99a4-7f4407cf70b0

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Friday, July 16, 2010 4:22 AM
    Monday, July 12, 2010 9:43 AM
  • Hi Daniel,

    I'm writing to follow up the post. Does the above suggestion work?

    Please feel free to let me know if you need any help.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, July 14, 2010 7:49 AM
  • Hi Daniel,

    I've marked my reply as answer. If you have any concern, please feel free to let me know.

    Have a nice day!

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, July 16, 2010 4:21 AM