This may be one of the frequently asked Q. but i haven't come across any help so far. While creating an MSI package for an application, I've a requirement where I need to check if JDK 1.7.0 is installed. If yes, proceed with the installation else, show a message which after the user's permission will redirect to the Install URL to install the prerequisite.
I've used the "Add Registry Search" but the condition I've provided either always fails or always pass. Below are the parameters I've used:
ADD REGISTRY SEARCH:
Property: JDKEXISTS
RegKey: SOFTWARE\JAVASOFT\JAVA DEVELOPMENT KIT
Root: vsdrrHKLM
Value: currentversion
LAUNCH CONDITION:
Condition: (JDKEXISTS="Installed")
InstallUrl: the url to be downloaded from
Message: Your system needs Java 1.7.0 or higher. Download it now?
However, its not working. Can somebody help me on this?