Jump to content

Search the Community

Showing results for tags 'automate install problem'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I need to automate the install process for 8 software. 2 of them are Microsofte product (MS Direct X and Windows SDK); 6 are Intel software. But the autoIt Send/ Control Click function does not work for any of them. Since I'm new to AutoIt, I'm not sure is the script I wrote wrone or is the install software I have has blocked automated mouse and key strokes. Is there any one use AutoIt script succesfuly installed MS DirectX SDK and Windows SDK for Windows 7? Below is the autoIt script and the console log: ; Opt("wintitlematchmode", 2) ;Global $cmd = "C:\Vcsource\AutoIT_install\sw_install\intel_sdk_for_ocl_applications_2012_x64_setup.exe" local $wintitle = "Microsoft DirectX SDK (June 2010)" FileChangeDir("C:\Vcsource\AutoIT_install\sw_install") Run(@ComSpec & ' /c' & "DXSDK_Jun10.exe") Sleep(2000) Local $shwndInstall = WinWait($wintitle) $shwndInstall = WinGetHandle($wintitle) If IsHWnd($shwndInstall) Then If WinActivate($shwndInstall) Then If ControlClick ( $shwndInstall, "", "[CLASS:Button;INSTANCE:2]" ) Then ConsoleWrite("Able to click button" & @CRLF) Else ConsoleWrite("NOT able to click button" & @CRLF) EndIf EndIf Else ConsoleWrite("Install window is not activated " & @CRLF) EndIf Console output: >Running AU3Check (1.54.22.0) from:C:\Program Files (x86)\AutoIt3 +>20:11:38 AU3Check ended.rc:0 >Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "V:\Installs\setup_install\t2.au3" Able to click button
×
×
  • Create New...