#region - SunJava install script - (InstallShield 2003) #include <Common_Functions.au3> Opt('TrayIconDebug', 1) Break(False) ; Installer. $executable = 'SunJava 1.6.0.1.exe' ; Default catagory folder in startmenu. $group = '?' ; Run the installer. $pid = _IS_2003('/s /v"/qn JAVAUPDATE=0"'); WEBSTARTICON=0 ProcessWaitClose($pid) ; Remove autoupdate If RegDelete('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 'SunJavaUpdateSched') = 1 Then RegWrite('HKLM\SOFTWARE\JavaSoft\Java Update\Policy', 'EnableAutoUpdateCheck', 'Reg_Dword', 0) EndIf Exit #endregion