Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

Adaware Free Antivirus (Install)

11.12.945.9202

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator AdmiringWorm on 9/30/2017.

Adaware Free Antivirus combines the legendary anti-spyware engine with a super fast, free antivirus.

It now features download protection (blocks malicious files before being written to disk), sandboxing (keeps unknown apps running in a virtual environment) and advanced detection.

To install Adaware Free Antivirus (Install), run the following command from the command line or from PowerShell:

C:\> choco install ad-awarefreeantivirus

To upgrade Adaware Free Antivirus (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade ad-awarefreeantivirus

Files

Hide
  • tools\ad-awarefreeantivirus_install.ahk Show
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    #NoTrayIcon
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    SetTitleMatchMode, 1
    SetControlDelay -1
    CoordMode, Mouse, Window
    
    winTitle = Adaware Antivirus Updater
    
    WinWait, %winTitle%,, 180
    if !(Errorlevel) {
    	Loop 5 
    	{
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 390, 270, RGB
    		if (colour = "0xFCB34F")
    		{
    			break
    		}
    		Sleep 1000
    	}
    	
    	ifWinExist, %winTitle%
    	{
    		Click 390 270
    	}
    	
    	Loop, 300 {
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 380, 220, RGB
    		if (colour = "0x36BE34") {
    			break
    		}
    		Sleep, 1000
    	}
    
    	ifWinExist %winTitle%
    	{
    		WinActivate %winTitle%
    		Click 300 540
    		Sleep 2000
    	}
    	else
    	{
    		ExitApp
    	}
    
    	ifWinExist, %WinTitle% 
    	{
    		WinActivate %winTitle%
    		Click 330 390
    	}
    	else
    	{
    		ExitApp
    	}
    }
  • tools\ad-awarefreeantivirus_uninstall.ahk Show
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    #NoTrayIcon
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    SetTitleMatchMode, 1
    SetControlDelay -1
    
    winTitle = Adaware Antivirus Updater
    WinWait, %winTitle%,, 60
    if !(Errorlevel) 
    {
    	Loop, 5
    	{	
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 475, 540, RGB
    		if (colour = "0xFCB34F")
    		{
    			break
    		}
    		Sleep 1000
    	}
    
    	ifWinExist, %winTitle%
    	{
    		WinActivate, %winTitle%
    		Click 475 540
    	}
    	else
    	{
    		ExitApp
    	}
    
    	; Window 'Keep some level of protection'
    	Loop, 5
    	{
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 570, 550, RGB	; this is the NEXT button
    		if (colour = "0xFCB34F")
    		{
    			break
    		}
    		Sleep 1000
    	}
    
    	ifWinExist, %winTitle%
    	{
    		WinActivate, %winTitle%
    		Click 570 550	; the NEXT button
    	}
    	else
    	{
    		ExitApp
    	}
    
    	; Window 'Uninstall Adaware Antivirus'
    	Loop, 5
    	{
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 450, 390, RGB	; this is the NO button which is orange (and selected) by default
    		if (colour = "0xFCB34F")
    		{
    			break
    		}
    		Sleep 1000
    	}
    
    	ifWinExist, %winTitle%
    	{
    		WinActivate, %winTitle%
    		Click 330 390	; this is the YES button
    	}
    	else
    	{
    		ExitApp
    	}
    
    	; Window 'Uninstallation Complete'
    	Loop, 300
    	{
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 385, 220, RGB	; this is the green tick to show uninstallation complete
    		if (colour = "0x36BE34")
    		{
    			break
    		}
    		Sleep 1000
    	}
    
    	ifWinExist, %winTitle%
    	{
    		WinActivate, %winTitle%
    		Click 300 540	; this is the CLOSE button (ie. not to reboot)
    	}
    	else
    	{
    		ExitApp
    	}
    
    	; Window 'Warning!'
    	Loop, 5
    	{
    		WinActivate, %winTitle%
    		PixelGetColor, colour, 460, 400, RGB	; this is the REBOOT NOW button which is orange and selected by default
    		if (colour = "0xFCB34F")
    		{
    			break
    		}
    		Sleep 1000
    	}
    
    	ifWinExist, %winTitle%
    	{
    		WinActivate, %winTitle%
    		Click 330 390	; this is the CLOSE button (ie. not to reboot)
    	}
    	else
    	{
    		ExitApp
    	}
    }
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'ad-awarefreeantivirus'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url = 'http://download100.lavasoft.com/adaware/updates/Adaware_Installer_free.exe'
    
    $ahkFile = 'ad-awarefreeantivirus_install.ahk'
    $ahkPath = $(Join-Path -Path $toolsDir -ChildPath $ahkFile)
    
    $packageArgs = @{
        packageName    = $packageName
        unzipLocation  = $toolsDir
        fileType       = 'EXE'
        url            = $url
    
        softwareName   = 'adaware antivirus*'
    
        checksum       = 'dc3e21115ef6d474175159bd3433bc526b2f56cc7677ecff2f46472c46b4e0c6'
        checksumType   = 'SHA256'
    
        validExitCodes = @(0)
    }
    
    $ahkRun = "$Env:Temp\$(Get-Random).ahk"
    Write-Debug "AHK file to run: $ahkRun"
    Copy-Item $ahkPath $ahkRun -Force
    $ahkProc = Start-Process -FilePath 'AutoHotKey' `
        -ArgumentList $ahkRun `
        -PassThru
    
    $ahkId = $ahkProc.Id
    Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
    Write-Debug "Process ID:`t$ahkId"
    
    Install-ChocolateyPackage @packageArgs
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    $ahkFile = 'ad-awarefreeantivirus_uninstall.ahk'
    $ahkPath = $(Join-Path -Path $toolsDir -ChildPath $ahkFile)
    
    $packageArgs = @{
        packageName    = $env:ChocolateyPackageName
        softwareName   = 'adaware antivirus*'
        fileType       = 'EXE'
        silentArgs     = ''
        validExitCodes = @(0)
    }
    
    $uninstalled = $false
    
    [array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
    
    $ahkRun = "$Env:Temp\$(Get-Random).ahk"
    Write-Debug "AHK file to run: $ahkrun"
    Copy-Item $ahkPath $ahkRun -Force
    $ahkProc = Start-Process -FilePath 'AutoHotKey' `
        -ArgumentList $ahkRun `
        -PassThru
    
    $ahkId = $ahkProc.Id
    Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
    Write-Debug "Process ID:`t$ahkId"
    
    if ($key.Count -eq 1) {
        $key | ForEach { 
            if ($_.UninstallString -match '"(.*)"\s(.*)') {
                $packageArgs['file'] = $matches[1]
                $packageArgs['silentArgs'] = $matches[2]
            }
    
            if ($packageArgs['fileType'] -eq 'MSI') {
                $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
                $packageArgs['file'] = ''
            }
    
            Uninstall-ChocolateyPackage @packageArgs
        }
    }
    elseif ($key.Count -eq 0) {
        Write-Warning "$packageName has already been uninstalled by other means."
    }
    elseif ($key.Count -gt 1) {
        Write-Warning "$($key.Count) matches found!"
        Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
        Write-Warning "Please alert package maintainer the following keys were matched:"
        $key | % {Write-Warning "- $($_.DisplayName)"}
    }
    
    Remove-Item "$ahkRun" -Force

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Lavasoft

Copyright

2017 Lavasoft

Tags

Version History

Version Downloads Last updated Status
Ad-Aware Free Antivirus+ 11.3.6321.0 757 Friday, August 29, 2014  
Ad-Aware Free Antivirus+ 11.2.5952.0 302 Wednesday, June 4, 2014  
Ad-Aware Free Antivirus+ 11.1.5354.0 353 Friday, January 31, 2014  
Ad-Aware Free Antivirus+ 11.1.5152.0 279 Friday, December 13, 2013  
Ad-Aware Free Antivirus+ 11.0.4555.0 280 Tuesday, December 10, 2013  
Ad-Aware Free Antivirus+ 11.0.4397.0 279 Monday, October 14, 2013  
Ad-Aware Free Antivirus+ 10.5.3.4405 322 Tuesday, August 13, 2013  

Discussion for the Adaware Free Antivirus (Install) Package

Ground rules:

  • This discussion is only about Adaware Free Antivirus (Install) and the Adaware Free Antivirus (Install) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Adaware Free Antivirus (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok