evgeny1976 Posted May 28, 2015 Posted May 28, 2015 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?~~~~~~~~~~~~~~~~~ ~#RequireAdminRun("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.
water Posted May 28, 2015 Posted May 28, 2015 (edited) 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 May 31, 2015 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.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 (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
Bert Posted May 28, 2015 Posted May 28, 2015 (edited) 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 May 28, 2015 by Bert clarity The Vollatran project My blog: http://www.vollysinterestingshit.com/
evgeny1976 Posted May 31, 2015 Author Posted May 31, 2015 (edited) 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 May 31, 2015 by evgeny1976
232showtime Posted May 31, 2015 Posted May 31, 2015 try this:Send("{TAB}") Sleep(100) Send("{Space}") evgeny1976 1 ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon.
Bert Posted May 31, 2015 Posted May 31, 2015 setup.exe /q evgeny1976 1 The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now