derspinne Posted April 23, 2013 Share Posted April 23, 2013 (edited) Ok I have this code :#RequireAdminShellExecute("setup_english.msi")WinWait("AgExpert Analyst 2013-02 - InstallShield Wizard","WARNING: This progra")WinActivate("AgExpert Analyst 2013-02 - InstallShield Wizard","WARNING: This progra")ControlClick("AgExpert Analyst 2013-02 - InstallShield Wizard", "Welcome to the InstallShield Wizard for AgExpert Analyst 2013-02", "Button1")WinWait("AgExpert Analyst 2013-02 - InstallShield Wizard", "I &do not accept the")WinActivate("AgExpert Analyst 2013-02 - InstallShield Wizard", "I &do not accept the")Send("!I &accept") ; It selected the I accept for the license and moved will should move to the next button below but it doesn't click on Next.1st try: ControlClick("AgExpert Analyst 2013-02 - InstallShield Wizard", "&Next", "Button5")2nd try: ControlClick("AgExpert Analyst 2013-02 - InstallShield Wizard", "", "[&Next >]")3rd try: ControlClick("AgExpert Analyst 2013-02 - InstallShield Wizard", "[CLASS:Button; INSTANCE:5]", "[&Next >]")4rt try: ControlClick("AgExpert Analyst 2013-02 - InstallShield Wizard", "", "[iD:1913]")My problem here is after it accepted the License it moves to a button that is Not Button5 (Next) but it will go to Print button so I will print the Agreement. I know It's weird and I tried using the correct: ID, TEXT and CLASS but nothing seems to work in order to just click on Next.>>>> Control <<<<Class: ButtonInstance: 5ClassnameNN: Button5Name:Advanced (Class): [CLASS:Button; INSTANCE:5]ID: 1913Text: &Next >Position: 306, 324Size: 88, 22ControlClick Coords: 36, 12Style: 0x50032001Any Help will be appreciated.Regards. Edited April 23, 2013 by derspinne Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 23, 2013 Moderators Share Posted April 23, 2013 Why would you resurrect a 6 year old thread for a completely different product?! Please start a new thread; you'll get a much better response. "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 More sharing options...
Bert Posted April 24, 2013 Share Posted April 24, 2013 besides that, you can use command line switches to do the job. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 24, 2013 Moderators Share Posted April 24, 2013 derspinne, Good advice from JLogan3o13 there - please follow it in future. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 24, 2013 Moderators Share Posted April 24, 2013 As YogiBear stated, this is an Installshield installation, which means you should be able to script it for a quiet install, and skip all that ControlClick mess. "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 More sharing options...
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