cheeroke Posted July 11, 2016 Share Posted July 11, 2016 Hi, i have below code to install ms visual c++ and .NET, while trying to run .exe created from au3 code i am getting error like: "Runtime Error, R6025 - pure virtual function call." It seems that my code is causing it but no idea what to change to avid it and finish installation successfuly. my code below: expandcollapse popup;vcdredist <--Visual C++ Run($sDrivers & "\vcredist_x86.exe") ;waiting for window to be active WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") If Not WinActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") Then WinActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") ;control line ;MsgBox(0,'Window','is activated - C1') ;WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") ControlClick("Microsoft Visual C++ 2010 x86 Redistributable Setup", "","[ID:104]") ;control line ;MsgBox(0,'Window','is activated - C2') WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") ControlClick("Microsoft Visual C++ 2010 x86 Redistributable Setup", "","[ID:12324]") Sleep(5000) ;MsgBox(0,'Window','Installing', 1) ;WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") If Not WinActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") Then WinActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") WinWaitActive("Microsoft Visual C++ 2010 x86 Redistributable Setup") ControlClick("Microsoft Visual C++ 2010 x86 Redistributable Setup", "","[ID:12325]") WinClose("Microsoft Visual C++ 2010 x86 Redistributable Setup") ;NDP461 <-- .NET Run($sDrivers & "\NDP461-KB3102436-x86-x64-AllOS-ENU.exe") WinWaitActive("Microsoft .NET 2015") ;control line ;MsgBox(0,'Window','is activated') ControlClick("Microsoft .NET 2015","",104) ControlClick("Microsoft .NET 2015","",12324) ;final screen WinWaitActive("Microsoft .NET 2015") ControlClick("Microsoft .NET 2015","",12325) Link to comment Share on other sites More sharing options...
AutoBert Posted July 11, 2016 Share Posted July 11, 2016 i think this is a error from one of your started exe. Insert MsgBox(es) to find which one. Link to comment Share on other sites More sharing options...
Danyfirex Posted July 11, 2016 Share Posted July 11, 2016 Hello. You can use silent instalation. http://asawicki.info/news_1597_installing_visual_c_redistributable_package_from_command_line.html Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
cheeroke Posted July 11, 2016 Author Share Posted July 11, 2016 how to call for silent mode ( i believe is would be done by cmd) in autoit? Link to comment Share on other sites More sharing options...
Danyfirex Posted July 11, 2016 Share Posted July 11, 2016 You can use Run, shellexecute. do a forum search. Also you can install Net Framework using Silent Install. https://msdn.microsoft.com/library/ee942965(v=VS.100).aspx Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now