Jump to content
Sign in to follow this  
dqdegvzman

Can someone help me fix the problem in my AutoIt script

Recommended Posts

dqdegvzman

Can someone help me fix the problem in my AutoIt script

1) following the java, and do not install

it should automatically download the java (silent mode)

and install java (silent mode)

after installation of java and finish

I have to run mom xxx.jar

2) it has the Autoit scripts detect the java already installed on the PC

I have to run mom xxx.jar

I want to change the Detection of java on the computer

by

HKEY_LOCAL_MACHINESOFTWAREJavaSoft

If FileExists("C:\Program Files\Java\jre7\bin\java.exe") Or FileExists("C:\Program Files (x86)\Java\jre7\bin\java.exe") Then
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
Edited by dqdegvzman

Share this post


Link to post
Share on other sites
water

Check Funktion RegRead.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Valuater

I would also use "error checking"

You find the returns in the help file for each function.

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
water

I Love the Term "error checking" ;)

  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×