Jump to content

Compilation EXE fail..Why?


rukhsina
 Share

Recommended Posts

Hi there,

Im new to this great AutoIt. I hope someone can help me with au3 script.

I create my first script for auto-install DivXOVSPlayer. I test my script with right click-run and worked fine.

I compile the script with added new code to avoid running same application again and again. Then I test the

compilation exe, nothing happen but only the icon stay in tray. Please can someone check my script what went wrong.

;) Im appreciate with the help. Sorry for my english. TQ

$SF_1 = "DivXOVSPlayer.exe"

If WinExists($SF_1) Then Exit

AutoItWinSetTitle($SF_1)

Run('DivXOVSPlayer.exe')

WinWaitActive("Language selection", "English")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Welcome to the DivX OVS Bundle installer")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup ", "License Agreement")

Send("{ALTDOWN}a{ALTUP}{ENTER}")

WinWaitActive("DivX OVS Bundle Setup ", "Choose Component")

Send("{DOWN}{SPACE}{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Choose Install Location")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Installation Complete")

Send("{ALTDOWN}c{ALTUP}")

Exit

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...