Sign in to follow this  
Followers 0
thosewhoharp

[HELP] Just trying to automate an installer

4 posts in this topic

Hey All, I am just learning autoit and I'm having trouble with the first screen of an installer. I would like it to click the "Next" button. I figured it wouldn't be dissimilar to the WinZip tutorial, but I was wrong. 

I've tried using ControlClick and that didn't seem to work either, possibly because I wasn't using the correct information.

Any help would be greatly appreciated!

Failing script:

(the var is just the title of the window)

WinActivate($setup)
WinWaitActive($setup)
Send("!n")
 
(or {ENTER}, etc, etc)
 
AutoIt Info tool output:
 
Class:  Button
Instance: 2
ClassnameNN: Button2
Name:
Advanced Mode: [CLASS:Button; INSTANCE:2]
ID: 1
Handle: 0x0000000000330438
 
 
 

 

 

Share this post


Link to post
Share on other sites

What is the software you're trying to install, and does it support silent install via switches? If you can install silently, it is always preferable to trying to automate the GUI.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

JLo: I'm unsure about this. It's a standard installer for a PC game.

Abb: Unfortunately this did not work :-(

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0