Announcement

Collapse
No announcement yet.

How to get JRE version dynamically?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get JRE version dynamically?

    Function java
    SetOutPath '$TEMP'
    SetOverwrite on
    File lib\jre-6u24-x64.exe
    ExecWait '$TEMP\jre-6u24-x64.exe'
    FunctionEnd

    If the user change JRE version 24 to 29(jre-6u24-x64.exe changed to jre-6u29-x64.exe),the above code is not working.
    Is possible to identify JRE version ? How to install dynamically install JRE?

  • #2
    I don't understand how the user does change the version (file)?
    You provide the file with the "File lib\jre-6u24-x64.exe" command, so the user is not able to change it.

    Comment


    • #3
      See this topic for detecting JRE version (from Registry): http://forums.winamp.com/showthread.php?t=363640
      Cool looking installers with custom design: www.graphical-installer.com
      Create Setup Pages easily: www.install-designer.com
      Build installers in Visual Studio 2005-2022: www.visual-installer.com
      or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎