PDA

View Full Version : Specifying condition comparison values in PRQ files



aynsworth
07-06-2010, 04:38 AM
I need to write a PRQ file that will install Java 1.5 if the target machine has Java 1.6 installed on it ro no Java version: our software will not work with Java 1.6. If Java 1.4 or Java 1.5 is installed, no need to install another Java version.

I am trying to modify the Java1.4 prq file (attached as a .txt) delivered with InstallShield. This PRQ file will install Java if the currently installed version is less than verson 1.4.2_03. Effectively, I need to reverse this test and install Java if the current installed version is greater than or equal to 1.6.

I know that the Type and Comparison values (in the case of the aforementioned PRQ file Type="2" Comparison="2") determine what's compared and how it's compared. But I can find no reference specifying what numeric values correspond to what comparisons. Would someone point me to a reference source. Any help in this area would be greatly appreciated.