; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:         ddSHADOW
;
; Script Function:
;	Template AutoIt script.
;
; ----------------------------------------------------------------------------

; ----------------------------------------------------------------------------
; Set up our defaults
; ----------------------------------------------------------------------------
Opt	("CaretCoordMode",	0)	;1=absolute, 0=relative
Opt	("ExpandEnvStrings",	0)	;0=don"t expand, 1=do expand
Opt	("MouseClickDelay",	10)	;10 milliseconds
Opt	("MouseClickDownDelay",	10)	;10 milliseconds
Opt	("MouseClickDragDelay",	250)	;250 milliseconds
Opt	("MouseCoordMode",	0)	;1=absolute, 0=relative
Opt	("MustDeclareVars",	0)	;0=no, 1=require pre-declare
Opt	("PixelCoordMode",	1)	;1=absolute, 0=relative
Opt	("RunErrorsFatal",	1)	;1=fatal, 0=silent set @error
Opt	("SendAttachMode",	0)	;0=don"t attach, 1=do attach
Opt	("SendCapslockMode",	1)	;1=store and restore, 0=don"t
Opt	("SendKeyDelay",	1)	;5 milliseconds
Opt	("SendKeyDownDelay",	1)	;1 millisecond
Opt	("TrayIconDebug",	1)	;0=no info, 1=debug line info
Opt	("TrayIconHide",	0)	;0=show, 1=hide tray icon
Opt	("WinDetectHiddenText",	0)	;0=don"t detect, 1=do detect

; ----------------------------------------------------------------------------
; Installation
; ----------------------------------------------------------------------------

Run("dfxInstall-Winamp.exe")
WinWaitActive("DFX","&Agree")
Send("!A")
WinWaitActive("DFX","DFX News")
Send("!N")
WinWaitActive("DFX","Destination Folder")
Send("!I")
WinWaitActive("DFX","Installation Complete")
Send("!C")