flamme-demon Posted August 6, 2012 Posted August 6, 2012 (edited) 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 : spybot2Run (spybot2beta.exe); Welcome windowsWinWaitActive ( "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 windowsWinWaitActive ( "Setup - Spybot - Search & Destroy" , "Donations welcome!")ControlClick ( "Setup - Spybot - Search & Destroy" , "Donations welcome!", "TNewButton2"); Installation & usage mode windowsWinWaitActive ( "Setup - Spybot - Search & Destroy" , "Installation & Usage Mode")ControlClick ( "Setup - Spybot - Search & Destroy" , "Installation & Usage Mode", "TNewButton2"); License Agreement windowsWinWaitActive ( "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 windowsWinWaitActive ( "Setup - Spybot - Search & Destroy" , "Information")ControlClick ( "Setup - Spybot - Search & Destroy" , "Information", "TNewButton2"); Ready to Install windowsWinWaitActive ( "Setup - Spybot - Search & Destroy" , "Ready to Install")ControlClick ( "Setup - Spybot - Search & Destroy" , "Ready to Install", "TNewButton2"); Finish Installation windowsWinWaitActive ( "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 August 6, 2012 by flamme-demon
flamme-demon Posted August 6, 2012 Author Posted August 6, 2012 I want to say that the problem exists with any script.
Tripredacus Posted August 6, 2012 Posted August 6, 2012 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!
flamme-demon Posted August 7, 2012 Author Posted August 7, 2012 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now