Installer Can't Read Tomcat7 Registry Keys
Posted: Wed Sep 10, 2014 8:35 pm
Hello,
I have created a few variables in the System->Variable section. All variables are correctly populated with Registry Key values except the one for Apache Tomcat. Here is what I have as my defined variable:
Variable Name: <TomcatInstallPath>
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\7.0\Tomcat7 (copied/pasted from RegEdit)
Value Name: InstallPath
Value Type: STRING
This variable always contains an empty value. Why does this variable doesn't behave like the other one? Is there a maximum number of variables that can be defined? (I currently have 4).
Also, if I want to compare a version number for a software value taken from registry with a version I expect, is there a way to convert the string to int or float so that proper comparison can occur?
Thank you!
I have created a few variables in the System->Variable section. All variables are correctly populated with Registry Key values except the one for Apache Tomcat. Here is what I have as my defined variable:
Variable Name: <TomcatInstallPath>
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\7.0\Tomcat7 (copied/pasted from RegEdit)
Value Name: InstallPath
Value Type: STRING
This variable always contains an empty value. Why does this variable doesn't behave like the other one? Is there a maximum number of variables that can be defined? (I currently have 4).
Also, if I want to compare a version number for a software value taken from registry with a version I expect, is there a way to convert the string to int or float so that proper comparison can occur?
Thank you!