File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Automating Command line installation" Watch "Automating Command line installation" New topic

Automating Command line installation

Satish Kulkarni
Ranch Hand

Joined: Jul 19, 2003
Posts: 60
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 this possible with Python scripting language ... any reference to a good website.

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
I agree. Here's the link:
subject: Automating Command line installation
It's not a secret anymore!