/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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.
Answered 11/30/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
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...
Answered 11/30/2011 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
0
Addition to above comments:

does it support xml answer file

java -jar file.jar file.xml.
Answered 12/01/2011 by: rock_star
Second Degree Black Belt

Please log in to comment
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
Answered 12/01/2011 by: MeanGeneious
Senior Yellow Belt

Please log in to comment
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?
Answered 12/01/2011 by: MeanGeneious
Senior Yellow Belt

Please log in to comment
0
it is the user who has replied for your forum query ... check the posts [:)]
Answered 12/01/2011 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
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.
Answered 12/02/2011 by: VBScab
Red Belt

Please log in to comment