wood burning stoves 2.0*
The moose likes Other Languages and the fly likes Automating Command line installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Automating Command line installation" Watch "Automating Command line installation" New topic
Author

Automating Command line installation

Satish Kulkarni
Ranch Hand

Joined: Jul 19, 2003
Posts: 60
Hi,
I have a software which can be installed on via command line and I have to automate the testing of this command line installation. When install script is executed on command line it prompts for lot of questions based on the user platform. So in my automation script i need to provide the anwsers ...is this possible with Python scripting language ... any reference to a good website.

Regards,
Satish
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
I'm not sure if you need python for this. Does your product allow for silent installation?.
Typically , the installer should be able to read inputs from a file (properties file (key=value) may be).
If you want to test with different inputs then ofcourse you can use python to generate those files.

installer.exe -f installer.properties
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automating Command line installation