ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Symantec anti-virus auto-updater

<< < (2/8) > >>

f0dder:
This shouldn't be too hard to do, especially not in a decent scripting language or .NET... basically, grab the page, do a regexp search, and grab the file if the date has changed.

What's the full URL to a download file? A quick-and-dirty regexp might look something like
--- ---http://www\.symantec\.com/path/(\d{8})-(\d+)-x86\.exe ...

PhilKC:
I'm working on something now... Shouldn't take too long to finish up and GUI-ify...

*cough* Assuming it stops creating 80MB files *cough*

PhilKC

kimmchii:
you can also use HTTrack to download all exe, and then use task schedule to run and delete.

PhilKC:
Ok, that took longer than expected, sorry.

http://bluescreenofdeath.co.uk/DC/nUpdate.exe

Usage:
   Normal: Just double click...
   With logging to file: nUpdate "C:\Log.txt"

Minimise to hide in the tray... That's about it...
It doesn't delete after running, but it does overwrite the same one each time, so not much space is lost...

EDIT: I do not own Norton *... Hence I couldn't test this as much as I would have liked to...

Errors/bugs/etc, either post here or email the address in the progam...

PhilKC

Josh:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: text
   at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
   at System.Windows.Forms.Clipboard.SetText(String text)
   at nUpdate.MainForm.log_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ListBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
nUpdate
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///c:/nUpdate.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



This occurred on the first run after it downloaded the update and said it was executing it. I didnt see the file run, but it said it was going to execute. Also, can you make it so that it puts the URL + filename being downloaded in the log. And one final request (that I can think of right now), is there a way to make it start hidden (only in tray)? Right now, when I launch it, the program maximizes itself and starts in tray. Thanks again man! This is why I love dc.com :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version