I am developing a website. In my website, I have created some applications and the buttons linked to those applications. Once the users click on the button, the users will be prompted to install the application.
My question is:
If the users had not installed the applications in their PC, so they will be prompted to install the applications in their PC once they click on the buttons; but if they had already installed the applications on their PC, the application should reject or alert the users that the same application is already installed.
So, how should I write the code to detect or to check the applications whether they had already been installed into the users'PC?