Jump to content

[HELP] Just trying to automate an installer


Recommended Posts

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
 
 
 

 

 

Link to comment
Share on other sites

  • Moderators

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.

"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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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