szavala Posted September 28, 2015 Posted September 28, 2015 (edited) Hello everyone,I am needing help trying to automate the install of Reboot Restore RX. I get stuck on the Language Selection msgbox. See attached screen shot. I tried SEND("{ENTER}"); SEND("{SPACE}"); even tried {TAB} then {ENTER}; and of course ControlClick variations and nothing works. Note. when I do the {TAB}, it reflects the selection of the button I tabbed to, it just won't click OK.Also, the last 2 lines of my script, I was desperate and just put anything to see if I could get it to work. I originally had Send("{ENTER}") after the WinWaitActive.Any help would be appreciated. Edited September 28, 2015 by szavala
Developers Jos Posted September 28, 2015 Developers Posted September 28, 2015 Doesn't Send("o") work?Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Moderators JLogan3o13 Posted September 28, 2015 Moderators Posted September 28, 2015 Hi, @szavala, this install is a bit of a pain in the butt, as it completely resists silent install for the free version. However, this works just fine for me:#RequireAdmin ShellExecute(@DesktopDir & "\RebootRestoreRX\Setup.exe") ;Language Select WinWait("[CLASS:#32770]", "&Select your system language:") ControlClick("[CLASS:#32770]", "&Select your system language:", "Button1") ;Page One WinWait("[CLASS:#32770]", "This setup wizard will lead you") ControlClick("[CLASS:#32770]", "This setup wizard will lead you", "Button3") ;EULA WinWait("[CLASS:#32770]", "End User License Agreement") ControlClick("[CLASS:#32770]", "End User License Agreement", "Button3") ;Partition WinWait("[CLASS:#32770]", "&Cancel") ControlClick("[CLASS:#32770]", "&Cancel", "Button3") ;Install WinWait("[CLASS:#32770]", "Current Settings") ControlClick("[CLASS:#32770]", "Current Settings", "Button3") ;Reboot WinWait("[CLASS:#32770]", "Installation Wizard Completed") ControlClick("[CLASS:#32770]", "Installation Wizard Completed", "Button1") ;To reboot or not to reboot ControlClick("[CLASS:#32770]", "Installation Wizard Completed", "Button5") ;Finish "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!
szavala Posted September 30, 2015 Author Posted September 30, 2015 @Jos & @JLogan3o13, thanks you for your help with this. I will give them both a try first thing in the morning. I will let you guys know how it goes. Thanks again for all the help.
szavala Posted October 5, 2015 Author Posted October 5, 2015 Here is an update. @Jos, ("o") did not work.@JLogan3o13, it worked like a charm. Thanks again for helping me with the solution.
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