Eset Installer Command Line

Discussion in 'ESET NOD32 Antivirus/Smart Security Beta' started by FireBloodPhoeniX, Oct 15, 2012.

Thread Status:
Not open for further replies.
  1. FireBloodPhoeniX

    FireBloodPhoeniX Registered Member

    Joined:
    Jun 27, 2011
    Posts:
    12
    I need to know how The Eset installer Finds Other Antivirus Systems

    Im a Eset Partner and i install Mass amounts of Eset Systems onto My customer's Computers.So i Made a Auto installer To update ESET from our Local LAN server (Only For Installation Purposes) So that the pull on our internet is less.

    The Following Is the Installer Line:(bat Script)
    Code:
    "%comp%\eav32.msi" /qb! reboot="RealySuppress" admincfg="%comp%\Settings.xml"
    Ever So often i Get A message box with "1" on it then the installation fails
    This Error Message Means That the Eset Installer Found A other AV system.

    So i made the script to try and find the AV and Give a warning:(bat Script)
    Code:
    set flagAV=0
    for /f "delims=" %%i in ('WMIC /NODE:"%userdomain%" /NAMESPACE:\\root\SecurityCenter2 PATH AntiVirusProduct GET displayName^,productState /FORMAT:List^|findstr "="') do set "%%i"
    cmd /c exit %productState%
    set /a "Byte1=0x%=ExitCode:~2,2% , Byte2=0x%=ExitCode:~4,2% , Byte3=0x%=ExitCode:~-2%"
    set /a "flagAV=(Byte1>>2)%%2"
    set /a "flagScan=(Byte2>>4)%%2"
    set /a "flagOutOfDate=(Byte3>>4)%%2"
    That is the vista/7 WMIC calls(thare is a Xp WMIC call Too)
    What it dose is ask windows to Show all antivirus systems that it thinks it has

    Some times It would find a AV then i can uninstall it..
    With AV's like McAfee & Norton i run the uninstaller and its shows it is uninstalled but ESET's installer still finds the AV, then I run a Removal tool for that AV...But in some cases i get Eset installer is still detecting a AV
    Then i run :(VBS Script)
    Code:
    strPC = "."
    
    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
    strPC & "\root\securitycenter2")
    
    Set colAV = objWMIService.ExecQuery _
    	("Select * from AntiVirusProduct")
    
    For Each objItem In colAV
    	objItem.Delete_
    Next
    To clear The Security center's entry's(i have the XP Code Too)

    Then Some TIMES the Eset installer STILL finds the other AVs o_O o_O

    I think the ESET installer looks in the registry for The other AV's
    Maby somewhere here :
    Code:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
    I dont know Please HELPo_O

    [PS:]I Think a swish to make the Eset installer skip looking for Other AV's could be useful aswell
     
    Last edited: Oct 15, 2012
  2. Marcos

    Marcos Eset Staff Account

    Joined:
    Nov 22, 2002
    Posts:
    14,456
    You can suppress detection of 3rd party software by using the IGNORE_CONFLICTS=1 switch.
     
  3. FireBloodPhoeniX

    FireBloodPhoeniX Registered Member

    Joined:
    Jun 27, 2011
    Posts:
    12
    GG Thank you im gona test it tomorrow ,i have been looking for a answer on and off for about 6 months ...
    Do you have a list of advanced commands for the installer & ecmd.exe?
    :thumb:
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.