How to use conditional operator?
I have used following code for taking which java version installed in the local machine,
Function javachecking
ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion"
${If} $1 > 1.5
MessageBox MB_OK "jdk $1 version is not correct. You should use jdk1.6 and above.."
Quit
FunctionEnd.
In my application run only jdk1.6 and above versions.so i have checked conditional operator to the jdk version..but it did not working.Because if i installed 1.5 and run the script it doesnot show this message box.How to check this condition?