edholley
13th September 2004 00:21 UTC
help with error during compile readregstr
I get the following;
Function: "DetectJRE"
Usage: ReadRegStr $(user_var: output) rootkey subkey entry
root_key=(HKCR|HKLM|HKCU|HKU|HKCC|HKDD|HKPD)
Error in script "stdin" on line 2029 -- aborting creation process
from
ReadRegStr $(TEMP2) HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVerision"
Any ideas?
deguix
13th September 2004 01:04 UTC
$(TEMP2) is not a variable. Variables start with "$" but without "()" or "{}".
edholley
13th September 2004 01:15 UTC
I copied this from an example script to detect installed J2SE.
Does it matter that it is defined?
!define TEMP2 $R1
Joel
13th September 2004 03:52 UTC
deguix is right, beside, try simple things:
ReadRegStr $0 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVerision"
If you want your custom variables, see
Var instruction.
edholley
14th September 2004 00:30 UTC
is their a way to test a numeric variable (1.4) with a > < test?
deguix
14th September 2004 08:38 UTC
You can use:
IntCmp command - only for integer numbers.
OR
Math plugin
edholley
15th September 2004 02:42 UTC
Why can I never find these things
Thanks very much. :-)