Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automating Command line installation

 
Satish Kulkarni
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic