Search the Community
Showing results for tags 'vis c++ 2010 installation'.
-
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: ;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)