Jump to content

Need Help Running Batch File with Multiple Prompts - (Moved)

Recommended Posts

Hi guys.

This is my first post as I just found the AutoIt tool and am hoping I can use it to perform application installs that are currently done manually with a batch file provided by Oracle.

My hope is that I can get AutoIt to automate the install inputs and the new installer will be a single executable file that I can then remotely push to machines and launch a silent install using some thing like Microsoft Systernals PSEXEC.

I am hoping you can get me started in the initial script steps where this batch file will be run in Administrator mode.

I will be installing PeopleSoft PeopleTools 8.58.05.

When I run the installer Batch file it accepts command line switches


Here is an example of multiple prompts that would need to be accounted for









Here is the final confirmation detail.



Thanks in advance.



Link to comment
Share on other sites

3 minutes ago, ERPDude said:

application installs that are currently done manually with a batch file provided by Oracle.

hmmm, what a pickle. If you can edit the batch file, you don't have to answer the "press 1" or what not. Having done that, add it to rar/7z.etc, to auto decompress an run the batch.
So, if you can do that, then yes, you can do it in AutoIt. But is easier if you have some experience. ( not meaning to offend, I understand you're in the biz :) )

Welcome to the forum @ERPDude.
Read up about Run() ;)

Link to comment
Share on other sites

Hi argumentum.

I dug through the batch file and was able to override some of the command line switch requirements as well as dynamic variable assignments based on those command line switches but I ran into a road block.

Once all variables are setup the final step is to call a Python script to perform the installation.

I do not know the Python language and I would not want to perform updates to the scripts directly as that would overcomplicate future installations which we frequently get.

I still need to have an ability to run a batch file and respond to command window prompt requests.

I have heard of people using response files or concatenating numerous echo commands to the call of a batch file but I'd rather avoid that if at all possible.

Thanks again.


Link to comment
Share on other sites

  • Moderators

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:


General development and scripting discussions.

Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...