Jump to content

AutoIT and windows 8


Recommended Posts

Hello,

I do Automated testing installation with AutoIt.

The concern is that even with UAC disabled, programs not running as administrator and running my installer does not work!

Do you know why and how to resolve this concern?

Link download spybot 2 beta : spybot2


Run (spybot2beta.exe)


; Welcome windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Welcome to the Spybot - Search & Destroy Setup Wizard")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Welcome to the Spybot - Search & Destroy Setup Wizard", "TNewButton1")


; Donation windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Donations welcome!")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Donations welcome!", "TNewButton2")

; Installation & usage mode windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Installation & Usage Mode")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Installation & Usage Mode", "TNewButton2")


; License Agreement windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "License Agreement")
ControlClick ( "Setup - Spybot - Search & Destroy" , "License Agreement", "TNewRadioButton1")
Sleep(100)
ControlClick ( "Setup - Spybot - Search & Destroy" , "License Agreement", "TNewButton2")

; Information windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Information")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Information", "TNewButton2")


; Ready to Install windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Ready to Install")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Ready to Install", "TNewButton2")


; Finish Installation windows
WinWaitActive ( "Setup - Spybot - Search & Destroy" , "Completing the Spybot - Search & Destroy Setup Wizard")
ControlClick ( "Setup - Spybot - Search & Destroy" , "Completing the Spybot - Search & Destroy Setup Wizard", "TNewCheckListBox1")
Sleep(100)
ControlClick ( "Setup - Spybot - Search & Destroy" , "Completing the Spybot - Search & Destroy Setup Wizard", "TNewButton2")

French version text :

Bonjour,

Je fais des tests d'installation automatisé avec autoit.

Le soucie c'est que même avec UAC désactivé, les programmes ne s'éxecute pas en administrateur et mon déroulement d'installation ne marche pas !

Savez vous pourquoi et comment résoudre ce soucie ?

Edited by flamme-demon
Link to comment
Share on other sites


Your best bet is probably going to be in your thread on AutoItscript.

http://www.autoitscript.com/forum/topic/143118-autoit-and-windows-8/

There are some people here who use AutoIT, but the response might be better there. I personally have not encountered any problems in Win8 so far and I get worried every time I read that someone has. I have not tried RTM version yet, but I sincerely hope my scripts still work in that version!

Link to comment
Share on other sites

Your best bet is probably going to be in your thread on AutoItscript.

http://www.autoitscript.com/forum/topic/143118-autoit-and-windows-8/

There are some people here who use AutoIT, but the response might be better there. I personally have not encountered any problems in Win8 so far and I get worried every time I read that someone has. I have not tried RTM version yet, but I sincerely hope my scripts still work in that version!

My post :)

I found a temporary solution time executed automation scripts.

In fact I have turned off UAC in Windows 8 like this: http://www.groovypost.com/howto/windows-8-turn-off-user-account-control/

But this method does not suffice longer to launch scripts must necessarily go to the registry to put the value 0 to the registry key "EnableLUA" (HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System)

This method is temporary as it disables Metro applications in their entirety. At the end it is necessary to put a value to the key named above.

ps: to each key change must restart the pc

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
  • Recently Browsing   0 members

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