question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to close Select Setup Language

See original GitHub issue

When i run this application, it prompts for Select Setup Language. I tried to Press Okay on that window, but this does not work.

    app = Application(backend="uia").start("setups/wampserver3.1.7_x64.exe")

    Wizard = app['Select Setup Language']

    Wizard.OK.click_input()

How can i click okay on the select setup language window.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
airelilcommented, Sep 12, 2019

Looks like the window is forked under another process. We can use Desktop class to find the windows of other processes. I guess, the setup elevates the installation rights to Admin, since the a separate process. So in order to make it work, you also have to run your pywinauto script as Admin.

from pywinauto import Application
from pywinauto import Desktop

app = Application(backend="uia").start("setups/wampserver3.1.7_x64.exe")
Wizard = Desktop(backend='uia').Select_Setup_Language
Wizard.OK.click_input()
1reaction
airelilcommented, Sep 13, 2019

The same approach ?

Wizard = Desktop(backend='uia').Setup_Wampserver64
Wizard.i_accept_the_agreement.click_input()
Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10: Disable language/keyboard selection popup
While this may be useful to a few people, it's mostly something that just pops up while you're doing other things.
Read more >
Manage the input and display language settings in Windows
Change your display language · Select Start > Settings > Time & language > Language & region. · Choose a language from the...
Read more >
How to change system language on Windows 10
Open Settings. · Click on Time & Language. · Click on Region. · Under the "Region" section, select the current location with the...
Read more >
HP PCs - Changing Languages (Windows 10)
On the Devices window, select Typing, and then select Advanced keyboard settings. ... On the Advanced keyboard settings window, select the language you...
Read more >
Manage your Chromebook's languages - Google Support
In the "Languages and inputs" section, select Languages. To change your Chromebook's language, next to "Device language," select Change.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found