Ahmedmb Posted March 23, 2005 Share Posted March 23, 2005 (edited) expandcollapse popup; ---------------------------------------------------------------------------- ; AutoIt Version: 3.1.0 ; Download Last NAV Update ; Author: Ahmed Mohamed Bayomy ; Em@il: Ahmedmb@gawab.com ; ---------------------------------------------------------------------------- #include <GuiConstants.au3> #notrayicon HotKeySet("#x", "Abort") ; GUI dim $Active,$SetState,$GUIStyle,$GUIStyleEx,$line,$file,$x86,$Link $Active = 1 $SetState = $GUI_DISABLE $GUIStyle = BitOR($WS_BORDER, $WS_POPUP) $GUIStyleEx = BitOR($WS_EX_TOOLWINDOW, $WS_EX_TOPMOST) GuiCreate ("Download", 400, 20, (@DesktopWidth-400)/2,1, $GUIStyle, $GUIStyleEx) ; PROGRESS GUICtrlCreateProgress( 1, 1, 398,18) GuiCtrlSetData(-1, 0) InetGet("ftp://anonymous:@ftp.symantec.com:21/public/english_international/antivirus_definitions/norton_antivirus/md5-hash.txt","md5.txt") $file = FileOpen("md5.txt", 0) While 1 $x86="" $line = FileReadLine($file) If @error = -1 Then ExitLoop $x86 = StringTrimLeft($line, StringInStr($line, "-x86.exe") - 13) if $x86 <> "" then $Link = $x86 Wend if FileExists($Link) then MsgBox(0,"Download NAV Update","You have last update " & $Link) FileDelete("md5.txt") Exit endif dim $S $s=InetGetSize ("http://definitions.symantec.com/defs/" & $Link) ;~ Show GUI GUISetState(@SW_SHOW) InetGet("http://definitions.symantec.com/defs/" & $Link, $Link, 1, 1) While @InetGetActive GuiCtrlSetData(-1, @InetGetBytesRead / $s * 100) Sleep(250) Wend FileDelete("m5.txt") run($Link ) Func Abort() InetGet("abort") FileDelete($Link) FileDelete("md5.txt") Exit EndFunc Edited March 23, 2005 by Ahmedmb Link to comment Share on other sites More sharing options...
zcoacoaz Posted March 23, 2005 Share Posted March 23, 2005 good job (i think i don't use nortan) but does nortan really not have an updater i use AVG Free and that has an automatic updater [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
killaz219 Posted March 23, 2005 Share Posted March 23, 2005 good job (i think i don't use nortan) but does nortan really not have an updater i use AVG Free and that has an automatic updater<{POST_SNAPBACK}>I use AVG also but Norton does have a auto updater Link to comment Share on other sites More sharing options...
layer Posted March 23, 2005 Share Posted March 23, 2005 yea, its got an autoupdater... but good work anyways! im sure it will come in handy! FootbaG Link to comment Share on other sites More sharing options...
zcoacoaz Posted March 23, 2005 Share Posted March 23, 2005 ya i would have laughed if it didn't because AVG does [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
MHz Posted March 23, 2005 Share Posted March 23, 2005 ya i would have laughed if it didn't because AVG does<{POST_SNAPBACK}>The script is possibly, for downloading the Norton's Intelligent Updater. This file is a redistribable for updating network PCs etc. You can have a freshly installed OS on a PC, install Nortons, then use the Intelligent updater to have the latest definitions and program updates. Then you can safely go online.Does AVG do that? I use Avast now. Very happy with it. Link to comment Share on other sites More sharing options...
zcoacoaz Posted March 23, 2005 Share Posted March 23, 2005 i don't think AVG does that. I've never heard of Avast what does that have [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
MHz Posted March 23, 2005 Share Posted March 23, 2005 @ AhmedmbThe script looks good.@ XenogisI use Avast4Home, which is free.Has pretty much everything except what the pro version has. Which is script blocking, and a couple of other trival things. But it integrates with the OS nicely and proves aggressive against any virus. The site is here. I recommend it to anyone to use. If you want more protection, pay for the pro version.I have not used AVG, so I cannot compare it to Avast. Link to comment Share on other sites More sharing options...
zcoacoaz Posted March 23, 2005 Share Posted March 23, 2005 avast looks pretty nice [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
Ahmedmb Posted March 23, 2005 Author Share Posted March 23, 2005 THX i write this Script not just for norton update but i tray download Func Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now