bobheart Posted June 22, 2004 Share Posted June 22, 2004 Like to make a download updater but not sure how .http://www.free-av.com/ Link to comment Share on other sites More sharing options...
emmanuel Posted June 22, 2004 Share Posted June 22, 2004 (edited) baby steps bob, baby steps. - Richard Dreyfus, What About Bob find what you want to download, use URLdownloadtoFile to get it, run it. figure out what you want to click once it's running, use winwait to wait for the app to start and controlclicks to click what you want to click. being an anti-virus app, it may not allow the automation of itself. you'll have to experiment. (oh, I don't use it, btw, so not much more than theory here) I use Avast at home. Edited June 22, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted June 22, 2004 Author Share Posted June 22, 2004 Would this help ? expandcollapse popupVersion information: [Version] --> Program: (Local/Internet) 6.25.00.03 / 6.25.00.03 [Version] --> Engine : (Local/Internet) 6.25.0.61 / 6.25.00.62 [Version] --> VDF : (Local/Internet) 6.25.0.88 / 6.25.00.91 [Version] --> Spec : (Local/Internet) 6.25.00.10 / 6.25.00.10 A new Update is available! Start download from domain http://dl4.avgate.net The file (vdfh.zip) will be transmitted Versioncheck: Local 6.25.0.88 | Internet 6.25.00.03 Server path name: http://dl4.avgate.net/down/vdf/vdfh.zip Temporary local file path name: C:\DOCUME~1\LOCALS~1\Temp\ANTIVIR\UPDATE\vdfh.zip [22:52:04.758] --> Creating the local file [22:52:04.768] --> Connecting to the internet [22:52:04.768] --> Opening the file on the server Information header from the server: HTTP/1.1 200 OK Date: Sat, 12 Jun 2004 03:52:19 GMT Server: Apache/1.3.27 (Linux/SuSE) Last-Modified: Fri, 11 Jun 2004 10:58:03 GMT ETag: "c00096-1b7f54-40c9903b" Accept-Ranges: bytes Content-Length: 1802068 Content-Type: application/zip [22:52:05.429] --> Transmitting the file [22:52:36.273] --> Closing the server connection [22:52:36.303] --> End of transmission [22:52:36.303] --> Checking the new file The file (engineh.zip) will be transmitted Versioncheck: Local 6.25.0.61 | Internet 6.25.00.62 Server path name: http://dl4.avgate.net/down/windows/engineh.zip Temporary local file path name: C:\DOCUME~1\LOCALS~1\Temp\ANTIVIR\UPDATE\engineh.zip [22:52:36.353] --> Creating the local file [22:52:36.353] --> Connecting to the internet [22:52:36.353] --> Opening the file on the server Information header from the server: HTTP/1.1 200 OK Date: Sat, 12 Jun 2004 03:52:50 GMT Server: Apache/1.3.27 (Linux/SuSE) Last-Modified: Wed, 09 Jun 2004 16:30:54 GMT ETag: "1010a9f-30f79-40c73b3e" Accept-Ranges: bytes Content-Length: 200569 Content-Type: application/zip [22:52:36.584] --> Transmitting the file [22:52:40.519] --> Closing the server connection [22:52:40.549] --> End of transmission [22:52:40.549] --> Checking the new file [22:52:40.549] --> All needed files were transmitted without errors [22:52:40.549] --> Check the new files [22:52:41.982] --> Install the new version [22:52:41.982] --> Creating backup of file ANTIVIR.VDF [22:52:42.072] --> Instal file ANTIVIR.VDF [22:52:42.302] --> Creating backup of file AVEWIN32.DLL [22:52:42.532] --> Instal file AVEWIN32.DLL [22:52:48.761] --> The new files are installed successfully Link to comment Share on other sites More sharing options...
emmanuel Posted June 22, 2004 Share Posted June 22, 2004 Would this help ? expandcollapse popupVersion information: [Version] --> Program: (Local/Internet) 6.25.00.03 / 6.25.00.03 [Version] --> Engine : (Local/Internet) 6.25.0.61 / 6.25.00.62 [Version] --> VDF : (Local/Internet) 6.25.0.88 / 6.25.00.91 [Version] --> Spec : (Local/Internet) 6.25.00.10 / 6.25.00.10 A new Update is available! Start download from domain http://dl4.avgate.net The file (vdfh.zip) will be transmitted Versioncheck: Local 6.25.0.88 | Internet 6.25.00.03 Server path name: http://dl4.avgate.net/down/vdf/vdfh.zip Temporary local file path name: C:\DOCUME~1\LOCALS~1\Temp\ANTIVIR\UPDATE\vdfh.zip [22:52:04.758] --> Creating the local file [22:52:04.768] --> Connecting to the internet [22:52:04.768] --> Opening the file on the server Information header from the server: HTTP/1.1 200 OK Date: Sat, 12 Jun 2004 03:52:19 GMT Server: Apache/1.3.27 (Linux/SuSE) Last-Modified: Fri, 11 Jun 2004 10:58:03 GMT ETag: "c00096-1b7f54-40c9903b" Accept-Ranges: bytes Content-Length: 1802068 Content-Type: application/zip [22:52:05.429] --> Transmitting the file [22:52:36.273] --> Closing the server connection [22:52:36.303] --> End of transmission [22:52:36.303] --> Checking the new file The file (engineh.zip) will be transmitted Versioncheck: Local 6.25.0.61 | Internet 6.25.00.62 Server path name: http://dl4.avgate.net/down/windows/engineh.zip Temporary local file path name: C:\DOCUME~1\LOCALS~1\Temp\ANTIVIR\UPDATE\engineh.zip [22:52:36.353] --> Creating the local file [22:52:36.353] --> Connecting to the internet [22:52:36.353] --> Opening the file on the server Information header from the server: HTTP/1.1 200 OK Date: Sat, 12 Jun 2004 03:52:50 GMT Server: Apache/1.3.27 (Linux/SuSE) Last-Modified: Wed, 09 Jun 2004 16:30:54 GMT ETag: "1010a9f-30f79-40c73b3e" Accept-Ranges: bytes Content-Length: 200569 Content-Type: application/zip [22:52:36.584] --> Transmitting the file [22:52:40.519] --> Closing the server connection [22:52:40.549] --> End of transmission [22:52:40.549] --> Checking the new file [22:52:40.549] --> All needed files were transmitted without errors [22:52:40.549] --> Check the new files [22:52:41.982] --> Install the new version [22:52:41.982] --> Creating backup of file ANTIVIR.VDF [22:52:42.072] --> Instal file ANTIVIR.VDF [22:52:42.302] --> Creating backup of file AVEWIN32.DLL [22:52:42.532] --> Instal file AVEWIN32.DLL [22:52:48.761] --> The new files are installed successfullysorry, not writing this for you, that doesn't really help anyways, since I don't know what it is or where it's from. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted June 22, 2004 Author Share Posted June 22, 2004 Thats ok I found if I run this Run(@ComSpec & " /c INETUPD.EXE") It will run the updater download the file and install it and if it is not new it just closes it . Problem solved ... Link to comment Share on other sites More sharing options...
emmanuel Posted June 22, 2004 Share Posted June 22, 2004 Thats ok I found if I run this Run(@ComSpec & " /c INETUPD.EXE") It will run the updater download the file and install it and if it is not new it just closes it . Problem solved ...you probably don't need the comspec, unless it's a CMD prompt only app: Run("INETUPD.EXE") "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted June 22, 2004 Author Share Posted June 22, 2004 (edited) Well i don't think it is ? but it seems to run ok and I have the c so the dos box is hiding . But it works good .I used window taskscheduler to run it for one time a day .. every day of the week . Now if it is can't connect I'm not sure what it will do ? I manage it will just close it . Edited June 22, 2004 by bobheart Link to comment Share on other sites More sharing options...
emmanuel Posted June 23, 2004 Share Posted June 23, 2004 (edited) /c means it closes after the app is run, if it closes immediately (and brings up the program window) that means that you don't need the @comspec or /c at all; it's just extra code.CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [ [/C | /K] string] /C Carries out the command specified by string and then terminates /K Carries out the command specified by string but remains /S Modifies the treatment of string after /C or /K (see below) /Q Turns echo off /D Disable execution of AutoRun commands from registry (see below) /A Causes the output of internal commands to a pipe or file to be ANSI /U Causes the output of internal commands to a pipe or file to be Unicode /T:fg Sets the foreground/background colors (see COLOR /? for more info) /E:ON Enable command extensions (see below) /E:OFF Disable command extensions (see below) /F:ON Enable file and directory name completion characters (see below) /F:OFF Disable file and directory name completion characters (see below) /V:ON Enable delayed environment variable expansion using ! as the delimiter. For example, /V:ON would allow !var! to expand the variable var at execution time. The var syntax expands variables at input time, which is quite a different thing when inside of a FOR loop.Edit: I don't want to sound like I'm just posting because I'm right, I want to clear up your misconception in hopes that it further helps... Edited June 23, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) 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