My question is: how can I automaticly download the latest version of a program, for example MSN messenger?
Can I use RunOnceEx.cmd for this?
in advance thanks.
This post has been edited by sjaak23: 17 October 2005 - 07:14 AM
Posted 17 October 2005 - 07:07 AM
This post has been edited by sjaak23: 17 October 2005 - 07:14 AM
Posted 17 October 2005 - 10:53 AM
Posted 17 October 2005 - 12:45 PM
;*********************
;TELECHARGEMENT AUTOIT
;*********************
Run("C:\PROGRA~1\INTERN~1\iexplore.exe http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe")
WinWaitActive("Téléchargement de fichier")
Send ("{LEFT}")
Send ("{ENTER}")
WinWaitActive("Enregistrer sous")
Send ("{ENTER}")
WinWaitActive("Téléchargement terminé")
Send ("{ENTER}")
;*******************************
;TELECHARGEMENT VLC MEDIA PLAYER
;*******************************
Run("C:\PROGRA~1\INTERN~1\iexplore.exe http://downloads.videolan.org/pub/videolan/vlc/0.8.2/win32/vlc-0.8.2-win32.exe")
WinWaitActive("Téléchargement de fichier")
Send ("{LEFT}")
Send ("{ENTER}")
WinWaitActive("Enregistrer sous")
Send ("{ENTER}")
WinWaitActive("Téléchargement terminé")
Send ("{ENTER}")
;*********************
;INSTALLATION D'AUTOIT
;*********************
$Title_1 = "AutoIt v3.1.1 Setup"
Run ( "autoit-v3-setup.exe" )
;Welcome Screen
WinWaitActive( $Title_1 , "Welcome")
Send ("{ENTER}")
;License Screen
WinWaitActive( $Title_1 , "License")
Send ("{ENTER}")
;Install Path
WinWaitActive( $Title_1 , "Choose")
Send (@homedrive & "\xp\util\AutoIt\")
Send ("{ENTER}")
;Finish
WinWaitActive( $Title_1 , "Completing")
Send ("{SPACE}")
Send ("{ENTER}")
;*****************************
;INSTALLATION VLC MEDIA PLAYER
;*****************************
$Title_1 = "VideoLAN VLC"
Run ( "vlc-0.8.2-win32.exe" )
;Welcome Screen
WinWaitActive( $Title_1 , "Welcome")
Send ("{ENTER}")
;License Screen
WinWaitActive( $Title_1 , "License")
Send ("{ENTER}")
;Select Components
WinWaitActive( $Title_1 , "Choose")
Send ("{Down}")
Send ("{ENTER}")
;Path to be installed to
Send (@homedrive & "\xp\divx\VLC")
Send ("{ENTER}")
WinWaitActive( $Title_1 , "Completing")
Send ("{SPACE}")
Send ("{ENTER}")
;*************
;FIN DU BOULOT
;*************
MsgBox(64, "Installation", "TOUT EST OK!")
Posted 18 October 2005 - 03:40 AM
This post has been edited by sjaak23: 18 October 2005 - 03:46 AM
Posted 18 October 2005 - 04:30 AM
This post has been edited by yoyo92: 18 October 2005 - 04:39 AM