How to show "An app on your PC needs the following Windows feature." dialog programmatically?

When I try to run .NET 3.5 applications on Windows 8.1 which has not .NET 3.5 Framework, Windows will show the "An app on your PC needs the following Windows feature. .NET Framework 3.5 (includes .NET 2.0 and .NET 3.0)" dialog automatically.
But I want to show this dialog programmatically. I think that the dialog is much more friendly than DISM command.
Any help would be appreciated.

Hello lzhangwdk,
I'm thinking that the issue is more related to a Setup issue now.
Anyway, may I ask one question, have you include the .NET 3.5 feature in your prerequisite list when creating a installer?
To raise a dialog is possible but it still require you use a kind of depolyment technology then customize your installer. If you use the ClickOnce technology, you can consider use isFirstRun to customize something to run:
https://social.msdn.microsoft.com/forums/windows/en-us/b3bca1fb-d2f3-417d-a7f9-e174e32ed3b0/clickonce-custom-actions
In setup project you may consider use custom actions to raise a dialog.
http://www.codeproject.com/Articles/335516/Custom-Action-in-Visual-Studio-setup-projects
So in general I need more info from you to redirect you to the right direction. And actually in my mind, just use the prerequisite list is OK. It is better than try any dism command, it will ask your users to install or enable .NET 3.5 themself.
Best 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.

Similar Messages

  • How can I unblock my ipad? it has the following window, "not enough storage"

    I have blocked my ipad; and doesn't allow me to do anything not even turn off. it has the following sign" not enough storage, This ipad cannot be backed up because there is not enough iCloud storage available. you can manage your storage in settings." Has two buttons to choose, CLOSE AND SETTINGS; but doesn't work any of two

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How do you launch apps on your device when it keeps saying my device was not known any advice?

    How do you launch apps from your device mine being a Macbook pro?

    Hi TammyPruett,
    I apologize, I'm a bit unclear on the exact issue you are describing. If you are having issues launching applications on your Mac, you may find the following articles helpful:
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/ht1199
    Apple Support: Troubleshooting the Mac App Store
    http://support.apple.com/kb/ts3624
    Regards,
    - Brenden

  • HT4623 how do you download apps on your computer and sync them to your iPad?

    how do you download apps on your computer then sync them to your iPad?

    Take a look at this link under iCloud & iTunes, http://www.apple.com/support/ipad/

  • How do you download data from your macbook to the ipad?

    how do you transfer data from your macbook to the ipad?

    What data do you want to transfer ? Music, films, tv shows, photos and ibooks are done by syncing in iTunes (for which there is some help in the iPad manual which can be downloaded from here http://support.apple.com/manuals/#ipad). Documents can also be done via iTunes, but it depends upon the app and the transfer method(s) that it supports e.g. file sharing via the bottom of the device's apps tab on your computer's iTunes, via your wifi network, cloud services, email attachments etc
    Edit : have you got the Keynote app on your iPad, or any other app that supports keynote presentations ? Without a 'suporting' app you can't store a document/file on the iPad (unlike computers files have to be stored within an app)..
    Message was edited by: King_Penguin

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other?
    (preferably without iCloud)

    Backup your iTunes library to an external drive and onto the other computer
    http://support.apple.com/kb/ht1751

  • How to show company name and contact name on the incoming calls of iPhone 4

    Kindly provide me with a useful solution of how to show company name and contact name on the incoming calls of iPhone4.
    even with an application or from the setting of the iPhone itself, but without telling me a solution like writting the company name in the contact name field.
    This is a very important option, i think it is a must, not an option and apple should fix this problem fastly. because it is already available in the older models of iPhone like iPhone 3G and 3GS.
    How an important feature like this could be available in old models, but in the later models is not available?

    Currently not possible without putting the company name in the contact name's field.  AFAIK, it's never been available on any iOS version.
    You might check the App Store for an app that can do this although I'm pretty sure you won't find one.
    http://www.apple.com/feedback/iphone.html

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • How to show a blank or clear cell for the first entry in a numbers pop-up menu on a mac. I can do it on the iPad but not on the mac. Thank you.

    Can you please advise how to show a blank or clear cell as the first option in a pop -up menu on a Mac, I can see how on an IPad but but not on the Mac.
    Thank you.

    Hi grm,
    Yvan Koenig wrote an Applescript to create an popup menu with a true blank menu item. You can find it in Yvan's Box Account public area. Click on for_iWork'09, then for-numbers'09, then look for and download popup_with_nil.zip. Unzip the file, then open it with ScriptEditor.
    Yvan's scripts include instructions (in French and English) on how and where to save the script and how to use it. I haven't read this one recently, so I can't give you any further details on it.
    Regards,
    Barry

  • When ever i'm trying to install an app from the app store i'm getting the following error "We could not complete your purchase - The product distribution file could not be verified. It may be damaged or was not signed", plz help me to rectify this .

    when ever i'm tring to install an app from the app store i'm getting the following error.
    "We could not complete your purchase - The product distribution file could not be verified. It may be damaged or was not signed".
    someone plz help me to overcome this.

    Installing the appropriate combo update may help...
    If you are running v10..7 Lion, install the OS X Lion Update 10.7.4 (Client Combo)
    For 10.6 Snow Leopard >  Mac OS X 10.6.8 Update Combo
    Then restart your Mac. Try the App Store.
    If that doesn't help, try the following..
    Quit the App Store if it's open.
    Open the Finder. From the Finder menu bar top of your screen click Go > Go to Folder
    Type this exactly as you see it here:
    /Library/Preferences/SystemConfiguration
    Click Go
    Move the NetworkInterfaces.plist file from the SystemConfiguration folder to the Trash.
    Relaunch the App Store and try downloading Mountain Lion.
    You may also need to disable anti virus software and turn off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall

  • I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

    I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

    I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

  • HT4623 How do I close apps that are running in the background.  If you double click button you used to be able to press and hold for the "x" to come up to allow you to close, but now I can't .

    How do I close apps that are running in the background.  You used to double press the button, and then press and hold to allow the "x" to come up, so you could close them down.

    Close all apps in multi-task window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • Hello my company Favorites I would like to first thank you for this wonderful program I have a question about the program. How can I Arabization program In your response to the spread accept me thanks and respect

    Hello my company Favorites I would like to first thank you for this wonderful program I have a question about the program. How can I Arabization program In your response to the spread accept me thanks and respect

    Hi ,
    You might want to refer the following link to find your serial number and activate your software .
    Here is the link for the same.
    https://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Let us know how it goes .We'll do the best possible to get your issue fixed.
    Regards
    Sukrit Dhingra

  • How do you download photos from your computer to the iphone 4s?

    How do you download photos from your computer to the iphone 4s?

    You sync as you do everything else.
    Open itunes connect iphone, select what you want to sync, sync.
    iPhone User Guide (For iOS 5.0 Software)

  • How do you text people from your phone on the computer? I tried icloud and it doesn't give me the option

    how do you text people from your phone on the computer? I tried icloud and it doesn't give me the option

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

Maybe you are looking for

  • Machine status shows unkown in VM manager

    i got 2 server pools in the oraclel vm manager. poolA & poolBpoolB displays everything perfectly but poolA machine status shows unknown. Machine in poolA are running currently & i can connect to them from network but cant control machine behaviour fr

  • WRE54G expander and D-LINK 624 router

    Note: DI-624 has 4 lines ethernet wired connectors and 1 wireless antena. With WRE54G powered and ethernet connected to the router line 2, the CD used to setup the expander did not worked at first time and resulted in a message in the computer: The W

  • Deactivate batch management

    Dear all, we have uploaded stock for the material and by mistake the batch management was active. but we reversed the stocks but still i am not able to deactivate batch management in material master Pl Guide how to deactive the batch management in MM

  • MM WM Stock Conversion question

    We have MM stock which is non-valuated, quantity-managed stock.   MM stock is managed in a fictional plant 2000 co-mingled with the primary plant 1000.    One WM warehouse WH1 manages both plants 1000 and 2000. Objective: Load the MM stocks into 1000

  • How can i print a keychain list

    using a mac with lion, I would like to print a list of login passwords that are automaticaly inserted into login pages on websites when using safari so that I can then use them on the ipad. I believe they are kept in keychain but keychain does not ha