Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

45,184

Downloads of v 22.8.4.0:

20,085

Last Update:

04 Aug 2022

Package Maintainer(s):

Software Author(s):

  • Kaspersky Lab

Tags:

trial security firewall antivirus antispyware admin

Kaspersky Internet Security

  • 1
  • 2
  • 3

22.8.4.0 | Updated: 04 Aug 2022

Downloads:

45,184

Downloads of v 22.8.4.0:

20,085

Software Author(s):

  • Kaspersky Lab

Kaspersky Internet Security 22.8.4.0

  • 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 Successful:

No detections found in any package files

Details
Learn More

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: '22.8.4.0'
    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  '22.8.4.0'
end

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


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

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


package { 'kis':
  ensure   => '22.8.4.0',
  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.

NOTE

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

Package Approved

This package was approved as a trusted package on 04 Aug 2022.

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://files.crchq.net/installer/kis21.2.16.590_en-gb_full.exe'
$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.7.16.590 2726 Sunday, May 8, 2022 Approved
Kaspersky Internet Security 21.6.16.590 81 Saturday, May 7, 2022 Approved
Kaspersky Internet Security 21.4.16.590 2533 Friday, September 3, 2021 Exempted
Kaspersky Internet Security 21.3.16.590 47 Friday, September 3, 2021 Exempted
Kaspersky Internet Security 21.3.10.392 2200 Monday, March 22, 2021 Approved
Kaspersky Internet Security 21.3.10.391 79 Monday, March 22, 2021 Approved
Kaspersky Internet Security 21.2.16.590 109 Saturday, March 20, 2021 Approved
Kaspersky Internet Security 20.2.14.1085 2489 Monday, July 27, 2020 Approved
Kaspersky Internet Security 20.0.14.1085 2316 Thursday, October 3, 2019 Approved
Kaspersky Internet Security 19.0.0.0 3799 Thursday, May 31, 2018 Approved
Kaspersky Internet Security 18.0.0.0 791 Thursday, March 1, 2018 Approved
Kaspersky Internet Security 17.2.0.0 1602 Tuesday, April 11, 2017 Approved
Kaspersky Internet Security 17.1.0.611 1498 Wednesday, December 7, 2016 Approved
Kaspersky Internet Security 17.0.0.611 589 Wednesday, July 27, 2016 Approved
Kaspersky Internet Security 15.0.2.361 708 Sunday, May 31, 2015 Approved
Kaspersky Internet Security 15.0.1.415 857 Monday, October 20, 2014 Approved
Kaspersky Internet Security 15.0.0.4631 495 Saturday, September 6, 2014 Approved
Kaspersky Internet Security 15.0.0.4630 481 Wednesday, July 9, 2014 Approved
Kaspersky Internet Security 14.0.0.46511 543 Thursday, May 1, 2014 Approved
Kaspersky Internet Security 14.0.0.46510 483 Wednesday, December 25, 2013 Approved
Kaspersky Internet Security 2014 14.0.0.4651 509 Sunday, September 8, 2013 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