Checking for Prerequsites before Installing Application
===

I am developing an application. I'm using ClickOnce of Microsoft to install my application on user's computer. Now I want to check for prerequsites if they are installed and ready to use. So how can I do that?