I have a question about Tomcat installation checking. I would like to create Installer for my application which needs Tomcat to be installed, so I need to check Tomcat installation, version of it on PC. I have some ideas like checking services or system variables? However, I am not sure that they are appropriate and version problem : different Tomcat's versions would have different names in services.
May be I need to ask user to set folder to Tomcat before?
So, could you help me with solution of this problem? I found similar questions on Stack, but I could't find an answer.