none
Control the display of windows features dialog box

    Question

  • Hello

    If an app requires the .NET Framework 3.5, but doesn't find that version enabled on your computer, it displays the following message box, either during installation, or when you run the app for the first time. In the message box, choose Install this feature to enable the .NET Framework 3.5. This option requires an Internet connection.

    Prompt for installing the .NET Framework 3.5 on demand

    Above is reference on http://msdn.microsoft.com/en-us/library/hh506443(v=vs.110).aspx

    Now the soluation is:

    Our application don't need .net framework3.5, but just a funcion need .net 3.5, so we want to display below windows features dialog box when user use this function, is it possible ?

     Window feature dialog box:




    • Edited by testnewmsdn Friday, August 22, 2014 3:31 AM
    Friday, August 22, 2014 2:59 AM

Answers

  • Hi,

    The Windows Features will only dispaly when you are on a computer with .NET as a embedded feature. So this dialog will only show when you choose .NET 3.5 as a prerequisite in a Win 7 or higher machine:

    Actually I haven't found an API which will help you call this dialog directly. If you want this dialog when using your function, please clarify your project type and some more details.

    Regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, August 25, 2014 5:24 AM
    Moderator