Jump to content
evgeny1976

Choosing No button for installation of 3rd party Software

Recommended Posts

evgeny1976

Hi Forum Members.

I'm really rookie in the AutoIt platform so I really apologize if my questions not defined well.

I watched and practice "AutoIt Scripting Tutorial 9 Automating Installers & Programs Part 1" tutorial from Youtube and got stuck with the following problem. During the installation procedure of some installer, there is also a step of installing some third party software. The problem is that   AutoIt Window Info doesn't show me coordinates of Yes/No radio buttons, so i could choose No (please see attachment).

So my question is how do I chose No?

~~~~~~~~~~~~~~~~~

~#RequireAdmin
Run("C:\Users\MyUserName\Desktop" & '\SpeccySetup.exe')
AutoItSetOption('MouseCoordMode',0)
WinWait("Speccy v1.28 Setup")
WinActivate("Speccy v1.28 Setup")
MouseClick('primary', 451, 363, 1, 0)
MouseClick('primary', 112, 124, 1, 0)
MouseClick('primary', 235, 139, 1, 0)
MouseClick('primary', 442, 367, 1, 0)

~~~~~~~~~~~~~~~~~

Thanks in advance.

AutoItForumQuestion.JPG

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

Why automate the GUI? CCleaner can be installed silently by passing the /S parameter to the installation exe.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Bert

This software supports command line switches when installing. When you make an installer - it is strongly suggested to always use command line switches when possible. Much more stable and no windows are presented to the user when the installer runs.

 

edit - water beat me to it. What he is showing is how to use command line switches.

Edited by Bert
clarity

Share this post


Link to post
Share on other sites
evgeny1976

10x for the replies, but CC cleaner installation is embedded within Setup.exe I exercised the 9th tutorial from AutoIt youtube playlist. I can exercise another Setup.exe but since I stuck with this one it will be interesting to ask. In my day-by-day job I frequently see 3rd party software installers embedded within other installlers

Edited by evgeny1976

Share this post


Link to post
Share on other sites
232showtime

try this:

Send("{TAB}")
Sleep(100)
Send("{Space}")

 

  • Like 1

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

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

×