Sign in to follow this  
Followers 0
dodger42

Script issue

8 posts in this topic

I am trying to automate the installation of Symantec LiveState Recovery. Its an Installshield installer. The title bar is always set to:

LiveState Recovery Advanced Server 6.0 - InstallShield Wizard

The screen is simply a welcome splash with a Next option (Alt N, or Enter). So I have the following code:

; Script Start - Add your code below here

Run("setup.exe")

WinWaitActive("LiveState Recovery")

Send("!N")

But it just does not do the Alt N. I tried using Enter instead with the same result. I used the AutoIT window info and copied in the full Windows Details for the title, so no case or typos.

Any suggestions? I read through the FAQ and some of the docs.

I tried a quick test on setup.exe for Janes FA18 and it worked perfectly.

REgards,

D

Share this post


Link to post
Share on other sites



Did you try the control functions (ControlClick() etc.)?

Take a look at helpfile.

Share this post


Link to post
Share on other sites

Did you try the control functions (ControlClick() etc.)?

Take a look at helpfile.

Thanks Briegel, I just tried this:

ControlClick("LiveState Recovery Advanced Server 6.0 - InstallShield Wizard", "&Next >", "$primary")

But it still just sits there at the screen waiting for Next.

Share this post


Link to post
Share on other sites

Never mind, I ran Scite which got it working. Thanks for the help!

Share this post


Link to post
Share on other sites

Thanks Briegel, I just tried this:

ControlClick("LiveState Recovery Advanced Server 6.0 - InstallShield Wizard", "&Next >", "$primary")

But it still just sits there at the screen waiting for Next.

That doesn't look right...

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

I wonder if he means the autoIT info tool.

Actually I just used the script writer from SCite. Worked perfectly. Syntax ended up being fairly different.

Edited by dodger42

Share this post


Link to post
Share on other sites

Syntax ended up being fairly different.

You mean...

Correct?

:whistle:

Share this post


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
Sign in to follow this  
Followers 0