How to install JRE using AutoIt
<p>I'm trying to configure JRE installation using AutoIt:</p>

<pre><code>If $iJava64 = 1 Then
    $hDownloadJava64 = InetGet("https://www.dropbox.com/s/s68heiccdoxhtii/Java%20Jre%20x64.exe?dl=1", @TempDir &amp; "\Java Jre x64.exe", $INET_FORCERELOAD)
    RunWait(@TempDir &amp; "\Java Jre x64.exe -install")
    $sMessage_stt = $sMessage_stt &amp; "Java Jre x64 -&gt; Done" &amp; @CRLF
    ControlSetText("Processing status", "", "Static1", $sMessage_stt)
EndIf
</code></pre>

<p>But that doesn't work. I also tried <code>/S</code>, <code>/q</code>, but it's not working!</p>