Jump to content

Recommended Posts

Posted (edited)

I am trying to get a script going but it stops at this page - Installation Definition.

Everything else works fine. Here is the code...Bold is where it stops and I also attatched a pic.

Run("setupsql.exe")

Initial Setup Screen

WinWaitActive("Setup", "Microsoft SQL Server 2000")

Send("{ENTER}")

; Install location

WinWaitActive("Welcome")

Send("!Next")

; Features overview

WinWaitActive("Computer Name")

Send("!Next")

; License agreement

WinWaitActive("Installation Selection")

Send("!Next")

; Quick start

WinWaitActive("User Information")

Send("!Next")

; Quick start

WinWaitActive("Software License Agreement")

Send("!Y")

; Quick start

WinWaitActive("Software License Agreement")

Send("!Y")

WinWaitActive("Definition", "You can select one of the following types")

send("!o")

send("!n")

; Quick start

WinWaitActive("Start Copying Files")

Send("!Next")

; Quick start

WinWaitActive("Setup Complete")

Send("{Enter}")

post-28253-1192731434_thumb.jpg

Edited by cburbs
Posted (edited)

WinWaitActive("Definition"....

is not what the pic says

also sometimes you can use - send Tab - to move th the next item and - send space - to select a checkbox/radio

The propoer way to do this is with ControlClick(), if possible

8)

BTW Welcome to the Autoit Forums

Edited by Valuater

NEWHeader1.png

Posted (edited)

I am just looking into this recently - how do you run a Control Click()?

I know I changed that recenlty just for a try on the Winwait and that didn't do anything.

It is almost like it doesn't see the window itself.

I tried a send("!n") and it won't even take that on this window.

Edited by cburbs

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...