aspose file tools*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Automating Command line installation