I have looked all around the internet, and can't seem to figure out how to uninstall a WPI application. I accidentally installed something thinking it was something else, and now I can't uninstall it.
You could remove them via control panel. Depending on what you want to remove, you either need to: Go into windows programs and features and turn windows features on/off, locate the feature you wish to remove and untick it. Else Go to uninstall a program section and locate it that way and uninstall as you would any other program.
I achieved this by opening IIS Manager selecting Handler Mappings (From the root node). I then deleted all PHP Handlers, I then opened FastCGI settings and deleted all php settings. I then removed all php entires from the system path and finally used those paths to know where PHP was installed and deleted the php folders. Finally The web platform installer allowed me to reinstall PHP and re-setup the handlers mappings for me.
You need to use Server Manager to do that.
- Start -> Control Panel -> Administrative Tools -> Server Manager
- Highlight Roles in tree view on left
- Under Web Server (IIS) section, look to right and click "Remove Role Services"
- Then uncheck the role you want to remove
This usually requires you to reboot the server after removal.
If anything didn't work.. you can try install windows install clean up tool. Few clicks to get rid from that WPI
Cheers
来源:https://stackoverflow.com/questions/16930823/how-to-uninstall-a-web-platform-installer-wpi-application