MSFN Forum: AutoIT and windows 8 - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIT and windows 8 Rate Topic: -----

#1 User is offline   flamme-demon 

  • Group: Members
  • Posts: 5
  • Joined: 17-July 07

Posted 06 August 2012 - 10:42 AM

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 ?

This post has been edited by flamme-demon: 06 August 2012 - 01:01 PM



#2 User is offline   flamme-demon 

  • Group: Members
  • Posts: 5
  • Joined: 17-July 07

Posted 06 August 2012 - 01:02 PM

I want to say that the problem exists with any script.

#3 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 06 August 2012 - 02:10 PM

Your best bet is probably going to be in your thread on AutoItscript.
http://www.autoitscr...-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!

#4 User is offline   flamme-demon 

  • Group: Members
  • Posts: 5
  • Joined: 17-July 07

Posted 07 August 2012 - 02:48 AM

View PostTripredacus, on 06 August 2012 - 02:10 PM, said:

Your best bet is probably going to be in your thread on AutoItscript.
http://www.autoitscr...-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.groovypos...ccount-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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy