Downloads:

20,258

Downloads of v 21.4.16.590:

1,268

Last Update:

03 Sep 2021

Package Maintainer(s):

Software Author(s):

  • Kaspersky Lab

Tags:

trial security firewall antivirus antispyware admin

Kaspersky Internet Security

  • 1
  • 2
  • 3

21.4.16.590 | Updated: 03 Sep 2021

Downloads:

20,258

Downloads of v 21.4.16.590:

1,268

Software Author(s):

  • Kaspersky Lab

  • 1
  • 2
  • 3
Kaspersky Internet Security 21.4.16.590

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Not intended to be installed on Server OS.

Details

Scan Testing Exemption for this package version only:

File too large to be scanned

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Kaspersky Internet Security, run the following command from the command line or from PowerShell:

>

To upgrade Kaspersky Internet Security, run the following command from the command line or from PowerShell:

>

To uninstall Kaspersky Internet Security, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade kis -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade kis -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install kis
  win_chocolatey:
    name: kis
    version: '21.4.16.590'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'kis' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '21.4.16.590'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller kis
{
    Name     = "kis"
    Version  = "21.4.16.590"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'kis':
  ensure   => '21.4.16.590',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.
Description

Kaspersky Internet Security combines antivirus protection with a personal firewall and an anti-spam filter. Also keeps your PC free from malicious code, adware, spyware, hacker attacks, dialers, spam and network fraud.

Privacy Policy

Community

Trial software (30 days)

This package installs the Free 30-day trial version of Kaspersky Internet Security. For purchase info, see http://www.kaspersky.com/internet-security


tools\chocolateyInstall.ps1
$packageName = 'kis'
$installerType = 'exe'
$silentArgs = "/s /noreboot"
$url = 'https://www.dropbox.com/s/prhkwn9gydkeml3/kis21.2.16.590_en-gb_full.exe?dl=1'
$checksum = '60b850caffc06ff03114360d1c3c8588'
$checksumType = 'md5'
$validExitCodes = @(0,3010)

$tempDir = Join-Path $env:Temp "$packageName"
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$instLog = Join-Path $tempDir kis-$(Get-Date -Format yyyyMMddHHmm)
$instLog = $instLog + '.log'

$arguments = @{}
$packageParameters = $env:chocolateyPackageParameters

$advParamNotes = @"
Command line installation parameters:

/a
  denotes administrative installation when installation files are copied to a specified network folder
  Example: KIS16.0.0.463.en-US.exe /a"Z:\Kaspersky Lab"
/sendstat
  enables sending statistical reports in the silent mode when the parameter /pAGREETOEULA=1 is used.
/recommended
  blocks displaying recommendations on additional application installation'
/noreboot
  blocks the dialog that requires that the computer should be restarted after the installation has been successfully completed.
/t
  defines the path to the file with the installation log.
/g
  allows setting the log tracing level for the insrtallation process (possible values: 1, 2, or 3, where 1 is the minimum value).
/l
  defines the language used while the multi-language version is being installed. NOT CURRENTLY USED
"@
Write-Verbose $advParamNotes

# Default the values
$admin = $true
$sendStat = $true
$recommended = $true
$installLog = $instLog
$installLogLevel = "1"
#$langCode = $false

$paramPropNotes = @"
Command line installation parameter properties:

ACTIVATIONCODE=<value>
  is meant for applying an activation code. Type the activation code instead of <value>.
  http://support.kaspersky.com/us/12065#block1
AGREETOEULA
  indicates the user's consent to the License Agreement.
JOINKSN
  indicates the user's consent to participate in Kaspersky Security Network.
INSTALLDIR=<value>
  is used for specifying the installation folder.
  Example: KIS16.0.0.463.en-US.exe /pINSTALLDIR="C:\Custom Folder\kis2016"
KLPASSWD=<value>
  is meant to protect some functions of the product with a password.
  Example: KIS16.0.0.463.en-US.exe /pKLPASSWD=12345678
  If the value of the parameter KLPASSWDAREA is not set, it will be applied to the default scope:
      Making changes to the application settings
      Closing the application
KLPASSWDAREA=[SET|EXIT|UNINST]
  defines the scope of the password specified by the option KLPASSWD. The possible values are:
    * SET  making changes to the application settings.
    * EXIT  closing the application.
    * UNINST  removing the application.
  The option may have multiple values; in such case, the values are divided by a semicolon.
SELFPROTECTION=1
  enables the product's Self-Defense during the installation.
  Example: KIS16.0.0.463.en-US.exe /pSELFPROTECTION=1
ALLOWREBOOT=1
  allows restarting the system if it is necessary.
  Example: KIS16.0.0.463.en-US.exe /pALLOWREBOOT=1
SKIPPRODUCTCHECK=1
  skips checking for applications incompatible with Kaspersky Internet Security 2016.
  Example: KIS16.0.0.463.en-US.exe /pSKIPPRODUCTCHECK=1

Reference: http://support.kaspersky.com/us/12002#block2
"@
Write-Verbose $paramPropNotes

# not set by default; requires additional data passed with package parameter
$activationCode = 0
$installDir = 0
$klPasswd = 0
$klPasswdArea = 0
# default: enabled/yes
$agreeToEula = "1"
$joinKsn = "1"
$selfProtection = "1"
$skipProductCheck = "1"
# default: disabled/no
$allowReboot = "0"

if ($packageParameters) {
  $match_pattern = "\/(?<option>([a-zA-Z]+))=(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
  $option_name = 'option'
  $value_name = 'value'

  if ($packageParameters -match $match_pattern ){
    $results = $packageParameters | Select-String $match_pattern -AllMatches
    $results.matches | % {
      $arguments.Add(
        $_.Groups[$option_name].Value.Trim(),
        $_.Groups[$value_name].Value.Trim()
      )
    }
  } else {
    Throw "Package Parameters were found but were invalid (REGEX Failure)"
  }

  Write-Debug "Parameters requiring multiple character string"
  if ($arguments.ContainsKey("installLog")) {
    Write-Host "installLog Found"
    $installLog = $arguments["installLog"]
  }
  if ($arguments.ContainsKey("installLogLevel")) {
    Write-Host "installLogLevel Found"
    $installLogLevel = $arguments["installLogLevel"]
  }
  if ($arguments.ContainsKey("activationCode")) {
    Write-Host "activationCode Found"
    $activationCode = $arguments["activationCode"]
    $silentArgs += " /pACTIVATIONCODE=" + $activationCode
  }
  if ($arguments.ContainsKey("installDir")) {
    Write-Host "installDir Found"
    $installDir = $arguments["installDir"]
    $silentArgs += " /pINSTALLDIR=" + $installDir
  }
  if ($arguments.ContainsKey("klPasswd")) {
    Write-Host "klPasswd Found"
    $klPasswd = $arguments["klPasswd"]
    $silentArgs += " /pKLPASSWD=" + $klPasswd
  }
  if ($arguments.ContainsKey("klPasswdArea")) {
    Write-Host "klPasswdArea Found"
    $klPasswdArea = $arguments["klPasswdArea"]
    $silentArgs += " /pKLPASSWDAREA=" + $klPasswdArea
  }

  Write-Debug "Parameters requiring single character 0 to disable"
  if ($arguments.ContainsKey("sendStat")) {
    Write-Host "sendStat Found"
    $sendStat = $arguments["sendStat"]
  }
  if ($arguments.ContainsKey("recommended")) {
    Write-Host "recommended Found"
    $recommended = $arguments["recommended"]
  }
  if ($arguments.ContainsKey("agreeToEula")) {
    Write-Host "agreeToEula Found"
    $agreeToEula = $arguments["agreeToEula"]
  }
  if ($arguments.ContainsKey("joinKsn")) {
    Write-Host "joinKsn Found"
    $joinKsn = $arguments["joinKsn"]
  }
  if ($arguments.ContainsKey("selfProtection")) {
    Write-Host "selfProtection Found"
    $selfProtection = $arguments["selfProtection"]
  }
  if ($arguments.ContainsKey("skipProductCheck")) {
    Write-Host "skipProductCheck Found"
    $skipProductCheck = $arguments["skipProductCheck"]
  }
  if ($arguments.ContainsKey("allowReboot")) {
    Write-Host "allowReboot Found"
    $allowReboot = $arguments["allowReboot"]
  }
} else {
    Write-Debug "No package parameters passed in"
}

#if ($admin) { $silentArgs += " /admin" }
if ($sendStat -eq "1") { $silentArgs += " /sendstat" }
if ($recommended -eq "1") { $silentArgs += " /recommended" }
$silentArgs += " /t" + $installLog
$silentArgs += " /g" + $installLogLevel
$silentArgs += " /pAGREETOEULA=" + $agreeToEula
$silentArgs += " /pJOINKSN=" + $joinKsn
$silentArgs += " /pSELFPROTECTION=" + $selfProtection
$silentArgs += " /pSKIPPRODUCTCHECK=" + $skipProductCheck
$silentArgs += " /pALLOWREBOOT=" + $allowReboot
Write-Debug "This would be the Chocolatey Silent Arguments: $silentArgs"

Install-ChocolateyPackage -PackageName "$packageName" `
                          -FileType "$installerType" `
                          -SilentArgs "$silentArgs" `
                          -Url "$url" `
                          -Checksum "$checksum" `
                          -ChecksumType "$checksumType" `
                          -ValidExitCodes $validExitCodes
tools\chocolateyUninstall.ps1
$packageName = 'kis'
$softwareName = "Kaspersky Internet Security"
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart REMOVE=ALL'
$validExitCodes = @(0,3010)

if (Get-Process -Name avp, avpui) {
  Write-Warning "Kaspersky Internet Security is currently running..."
  Write-Warning "Please exit the program from the tray icon and run this command again."
  throw
} else {
  [array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
  $key.PSChildName | ForEach-Object {
    $_ -match '{[\dA-F-]+}'
    Uninstall-ChocolateyPackage -PackageName "$packageName" `
					       -FileType "$installerType" `
					       -SilentArgs "$($Matches.Values) $silentArgs" `
					       -ValidExitCodes $validExitCodes
  }
}

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Kaspersky Internet Security 21.3.16.590 18 Friday, September 3, 2021 Exempted
Kaspersky Internet Security 21.3.10.392 2165 Monday, March 22, 2021 Approved
Kaspersky Internet Security 21.3.10.391 43 Monday, March 22, 2021 Approved
Kaspersky Internet Security 21.2.16.590 65 Saturday, March 20, 2021 Approved
Kaspersky Internet Security 20.2.14.1085 2451 Monday, July 27, 2020 Approved
Kaspersky Internet Security 20.0.14.1085 2267 Thursday, October 3, 2019 Approved
Kaspersky Internet Security 19.0.0.0 3748 Thursday, May 31, 2018 Approved
Kaspersky Internet Security 18.0.0.0 747 Thursday, March 1, 2018 Approved

This package has no dependencies.

Discussion for the Kaspersky Internet Security Package

Ground Rules:

  • This discussion is only about Kaspersky Internet Security and the Kaspersky Internet Security 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 Kaspersky Internet Security, 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