Jump to content

Recommended Posts

Hey All,

I am trying to write a script that will install a few programs in sequence. I have gotten the scripts mostly perfected, but every so often the command will execute but will not progress to the next section or is waiting for something that apparently never happens and so the script stops.

I would like to be able to program for these types of errors and was thinking about having a timed loop to check each step of the install every second or two and then applying the correct input for the current section. Before i go through this effort i was wondering if anyone has programmed anything like that and had it work successfully and wouldn't mind sharing a code snipit.

I was thinking of using an if then else tree or a case statement that looped forever until either a key sequence or the finish came and then it would move on to the next program, and so on...

Any thoughts?

Link to post
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...