please help
i am very new to nsis and installers at all. and all i can say: nsis is great!
but i have a little problem
i want to check if jre is installed on the computer and my code looks like this:
;Installer Sections
Section "JRE 1.4.1 (required)" SecJRE
ClearErrors
ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Enviroment" "CurrentVersion"
IfErrors install keep
keep:
MessageBox MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON1 "JRE detected. Keep installed version?" IDYES skip IDNO install
install:
SectionIn 1 2 3 4 5
SetOutPath $INSTDIR\jre
File /r \\lnzp103a\projekte\temppo\tools\j2sdk1.4.1\jre\*.*
StrCpy $0 '-Dsun.java2d.noddraw -Djava.util.logging.config.file=logging.properties'
;Uninstaller
WriteUninstaller uninst-temppo.exe
skip:
SectionEnd
i can compile the script without any problems, but it doesn't show the message box even though i have jre on my computer
does anybody know why?
thank you!