I want to change the Detection of java in my scripts
by
my scripts
by
PHP Code:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
PHP Code:
#include <NavInfo.au3>
$Is_Java = _NavInfo_IsJavaInstalled()
If $Is_Java Then
MsgBox(0, "", "")
ShellExecute(@ScriptDir & "\xxx.jar")
Else
$java = InetGet("http://javadl.sun.com/webapps/download/AutoDL?BundleId=76860", "javainstall.exe")
ShellExecute($java)
ShellExecute(@ScriptDir & "\xxx.jar")
EndIf