Jump to content
Sign in to follow this  
CrazyGenius

NOD32 and Windows Steadystate

Recommended Posts

CrazyGenius

I know there are ways to get programs to update in Windows Steadystate but i cant get NOD32 to update it doesn't seem to have a command line to run a update. I want to be able to write a scipt to run the update without having to log on as administrator and turning protection off every time it needs updating. Does anyone know of any code that will help my problem

Share this post


Link to post
Share on other sites
CrazyGenius

I know there are ways to get programs to update in Windows Steadystate but i cant get NOD32 to update it doesn't seem to have a command line to run a update. I want to be able to write a scipt to run the update without having to log on as administrator and turning protection off every time it needs updating. Does anyone know of any code that will help my problem

i have researched some ways of doing this. this was the best option but it doesn't work how

In the SoftwareUpdates.XML file add this before the tag

  <SOFTWARE
    id="ESET"
    name="Eset NOD32 Antivirus"
    detectionPath="SOFTWARE\ESET\ESET Security\CurrentVersion\Info"
    detectionName="InstallDir"
    append="ecmd.exe"
    script="SCTNOD32Update.vbs"
    category="Anti-Virus"  />

 

 

 

The vbscript that goes into windows steadystate Script folder:

Option Explicit

' ~~~
' ~~~ Turn on error handling
' ~~~
On Error Resume Next

' ~~~
' ~~~ Declare global variables
' ~~~
Dim sEsetPath, oShell, strComputer, oWMIService, ColProcesses

' ~~~ Create objects
Set oShell = CreateObject("WScript.Shell")

' ~~~ Set application path
sEsetPath = oshell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\ESET\ESET Security\CurrentVersion\Info\InstallDir")


'~~~ Download Virus Signature
call oShell.Run(chr(34) & sEsetPath & "\ecmd.exe" & chr(34) & " /update", 0, True)

' ~~~ Wait 5 minutes
WScript.Sleep (300000)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×