Jump to content
Sign in to follow this  
Jonatas

AutoIT does not pursue / continue

Recommended Posts

Jonatas
Good evening everyone! 
 
I apologize for my English I am Brazilian and I am using Google Translate, 
I have a problem that I believe is virus but not sure 
while my AutoIT latest version does not continue execution of the recorded Au3Record automation, and the same file works on another computer with AutoIT, 
however going into safe mode files function normally. 
 
What can this happening? 
 
I've used Malwarebytes Anti-Malware and did not detect any virus.

Share this post


Link to post
Share on other sites
computergroove

Perhaps there are functions in your script that require admin privileges and you are logged into a restricted account when you are not in safe mode.


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
Jonatas

Ok the following code, remembering that worked perfectly, now only in Safe Mode.

 

#region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000416)  ---

 
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
Local $aResult = DllCall('User32.dll', 'int', 'GetKeyboardLayoutNameW', 'wstr', '')
If $aResult[1] <> '00000416' Then
  MsgBox(64, 'Warning', 'Recording has been done under a different Keyboard layout' & @CRLF & '(00000416->' & $aResult[1] & ')')
EndIf
 
EndFunc
 
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
 
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---
 
 
Run('C:PU_PrincipalTeamViewer_Setup.exe')
_WinWaitActivate("Instalação de TeamViewer 8","Bem-vindo ao TeamVie")
Send("{ENTER}")
_WinWaitActivate("TeamViewer","Pronto para a conexã")
Send("{ALTDOWN}{F4}{ALTUP}")
_WinWaitActivate("TeamViewer","")
Send("{ALTDOWN}{F4}{ALTUP}")
#endregion --- Au3Recorder generated code End ---

 

Share this post


Link to post
Share on other sites
Jonatas
Computergroove Hello, thank you in advance for your support. 
 
Actually the problem is not because of administrative rights, converted into EXE and ran as administrator and not resolved.

Share this post


Link to post
Share on other sites
JLogan3o13

Is there a reason you are trying to automate the GUI installation of TeamViewer, rather than just doing a silent install?


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Jonatas

No, the silent mode is welcome but would like the installation GUI also worked as before.

I am currently researching possible conflicts of AutoIT to understand why it works in Safe Mode, another thing to add is that it has worked very slowly and then there goes the left of the second command, this only happens now with AutoIT. 
 
I'm trying to run Combofix but displays the error NSIS_Error
Edited by Jonatas

Share this post


Link to post
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
Sign in to follow this  

×