Jump to content

Choosing No button for installation of 3rd party Software


Recommended Posts

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

Link to comment
Share on other sites

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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

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