For those eager BETA tester, I post now my Autohotscript script that upgrades automatically XYplorer. Enjoy.
;-------------------Start of script-------------------------
#SingleInstance,Force
#Persistent
ApplicationTitle=Download XYplorer Beta`nCompile 5/1/2007 11:38AM
SetBatchLines,-1
TrayTip,,Downloading latest XYplorer Beta...
UrlDownloadToFile,
http://www.xyplorer.com/latestbeta.php, c:\temp.zip
TrayTip,,Downloading latest XYplorer Beta... DONE!
;MsgBox,1,,Close all instances of XYplorer and upgrade?
;IfMsgBox,Cancel
;{
; FileDelete, c:\temp.zip
; ExitApp
;}
TrayTip,,Closing XYplorer
loop, 10
{
Process,Close,XYplorer.exe
if ErrorLevel
Sleep, 500
else
Continue
}
; The following line should be changed according to the program you use to unzip your files
TrayTip,,Upgrading XYplorer
RunWait, c:\util\7za.exe e -y -o"C:\Program Files\XYplorer\" c:\temp.zip ;<--------------
you need to change the path to the unzip programFileDelete, c:\temp.zip
TrayTip,,Restarting XYplorer
Run, C:\Program Files\XYplorer\XYplorer.exe
Sleep 1000
TrayTip
ExitApp
Return
;-------------------End of script-------------------------