Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

AutoIT and windows 8

- - - - -

  • Please log in to reply
3 replies to this topic

#1
flamme-demon

flamme-demon
  • Member
  • 5 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, 06 August 2012 - 01:01 PM.



How to remove advertisement from MSFN

#2
flamme-demon

flamme-demon
  • Member
  • 5 posts
I want to say that the problem exists with any script.

#3
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,745 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

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!
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#4
flamme-demon

flamme-demon
  • Member
  • 5 posts

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN