/build/static/layout/Breadcrumb_cap_w.png

Unattended Executable Jar File

Is there anyway to create an unattended script that will run an Executable Jar File? The install.jar file will run and bring up a user interface which I would like to make unantended. The Jar file currently has no command line arguments available that would provide a silent or unantended type install. Capture of installation in not vendor supported, Autoit is somwhat problemattic as the buttons do not have any keys associated with them, ect..

0 Comments   [ + ] Show comments

Answers (7)

Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
If its just a matter of copying the file into a directory and then having it executed, you could do this with with a bat/cmd file and just add it to startup.

And I would not recommend performaing a capture/repackage of a java script install or app.
Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
HI ,

You can run a jar file using below command.

java -jar filename.jar

but Java version to be installed already in the machine with java environment set . In order to run the jar file in unattended mode ,it depends on how developer of jar file created it.

u can try above command ... if no luck capture the install as Jmaclaurin...
Posted by: rock_star 12 years ago
4th Degree Black Belt
0
Addition to above comments:

does it support xml answer file

java -jar file.jar file.xml.
Posted by: MeanGeneious 12 years ago
Senior Yellow Belt
0
ORIGINAL: rock_star

Addition to above comments:

does it support xml answer file

java -jar file.jar file.xml.



AFAIK, it does not accept command line options, like -record
Posted by: MeanGeneious 12 years ago
Senior Yellow Belt
0
ORIGINAL: mahendraKumar


HI ,

You can run a jar file using below command.

java -jar filename.jar

but Java version to be installed already in the machine with java environment set . In order to run the jar file in unattended mode ,it depends on how developer of jar file created it.

u can try above command ... if no luck capture the install as Jmaclaurin...


You can run the jar with a command line as above.

What is Jmaclaurin?
Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
it is the user who has replied for your forum query ... check the posts [:)]
Posted by: anonymous_9363 12 years ago
Red Belt
0
if no luck capture the install as Jmaclaurin...It's generally a good idea to read the posts to which you refer. Jeff advised, quite rightly:I would not recommend performaing a capture/repackage of a java script install or app.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ