Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
-
STEP1
Package Review
-
STEP2
Integration Method
-
STEP3
Internal Repo Url
-
STEP4
Environment Setup
-
STEP5
Install Script
Step 1: Review Your Packages
Step 2: Choose Your Integration Method
Step 3: Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
Step 3: Copy Your Script or Download Config
Option 1: Copy Script
Option 2: Download Config
Step 4: Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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 packages and push them to a repository
Download Packages
-
Open Source
-
Download the packages:
Download Packages - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
-
For package and dependencies run:
- Automate package internalization
-
Run: (additional options)
Step 5: Copy Your Script
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:
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### We initialize a few things that are needed by this script - there are no other requirements.
$ErrorActionPreference = "Stop"
#### Set TLS 1.2 (3072) as that is the minimum required by various up-to-date repositories.
#### Use integers because the enumeration value for TLS 1.2 won't exist
#### in .NET 4.0, even though they are addressable if .NET 4.5+ is
#### installed (.NET 4.5 is an in-place upgrade).
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
#### We use this variable for future REST calls.
$RequestArguments = @{
UseBasicParsing = $true
}
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$NugetRepositoryUrl = "INTERNAL REPO URL"
### b. Internal Repository Credential ###
#### If required, add the repository access credential here
# $NugetRepositoryCredential = [PSCredential]::new(
# "username",
# ("password" | ConvertTo-SecureString -AsPlainText -Force)
# )
# $RequestArguments.Credential = $NugetRepositoryCredential
### c. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it
$ChocolateyDownloadUrl = "$($NugetRepositoryUrl.TrimEnd('/'))/package/chocolatey.1.1.0.nupkg"
### d. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService"
#### ii. If using a Client Salt, add it here
# $ChocolateyCentralManagementClientSalt = "clientsalt"
#### iii. If using a Service Salt, add it here
# $ChocolateyCentralManagementServiceSalt = "servicesalt"
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
#### Download the Nupkg, appending .zip to the filename to handle archive cmdlet limitations
if (-not (Get-Command choco.exe -ErrorAction SilentlyContinue)) {
$TempDirectory = Join-Path $env:Temp "chocolateyInstall"
if (-not (Test-Path $TempDirectory -PathType Container)) {
$null = New-Item -Path $TempDirectory -ItemType Directory
}
$DownloadedNupkg = Join-Path $TempDirectory "$(Split-Path $ChocolateyDownloadUrl -Leaf).zip"
Invoke-WebRequest -Uri $ChocolateyDownloadUrl -OutFile $DownloadedNupkg @RequestArguments
#### Extract the Nupkg, and run the chocolateyInstall script
if (Get-Command Microsoft.PowerShell.Archive\Expand-Archive -ErrorAction SilentlyContinue) {
Microsoft.PowerShell.Archive\Expand-Archive -Path $DownloadedNupkg -DestinationPath $TempDirectory -Force
} else {
# PowerShell versions <4.0 do not have this function available
try {
$shellApplication = New-Object -ComObject Shell.Application
$zipPackage = $shellApplication.NameSpace($DownloadedNupkg)
$destinationFolder = $shellApplication.NameSpace($TempDirectory)
$destinationFolder.CopyHere($zipPackage.Items(), 0x10)
} catch {
Write-Warning "Unable to unzip package using built-in compression."
throw $_
}
}
& $(Join-Path $TempDirectory "tools\chocolateyInstall.ps1")
}
if (-not (Get-Command choco.exe -ErrorAction SilentlyContinue)) {
refreshenv
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# choco feature enable -n useFipsCompliantChecksums
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
choco config set --name cacheLocation --value C:\ProgramData\chocolatey\cache
#### Increase timeout to at least 4 hours
choco config set --name commandExecutionTimeoutSeconds --value 14400
#### Turn off download progress when running choco through integrations
choco feature disable --name showDownloadProgress
### c. Sources ###
#### Remove the default community package repository source
choco source list --limitoutput | ConvertFrom-Csv -Header 'Name', 'Location' -Delimiter '|' | ForEach-Object {
if ($_.Location -eq 'https://community.chocolatey.org/api/v2/') {
choco source remove -n $_.Name
}
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
if ($NugetRepositoryCredential) {
choco source add --name ChocolateyInternal --source $NugetRepositoryUrl --user $NugetRepositoryCredential.UserName --password $NugetRepositoryCredential.GetNetworkCredential().Password --priority 1
} else {
choco source add --name ChocolateyInternal --source $NugetRepositoryUrl --priority 1
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
choco upgrade chocolatey --confirm
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
choco install chocolatey-license --source $NugetRepositoryUrl --confirm
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
if ("chocolatey-license" -in (choco list --localonly --limitoutput | ConvertFrom-Csv -Header "Name" -Delimiter "|").Name) {
choco source disable --name chocolatey.licensed
} else {
Write-Warning "Not disabling 'chocolatey.licensed' feed, as Chocolatey-License has not been installed."
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
if ("chocolatey-license" -in (choco list --localonly --limitoutput | ConvertFrom-Csv -Header "Name" -Delimiter "|").Name) {
choco install chocolatey.extension --source $NugetRepositoryUrl --confirm
} else {
Write-Warning "Not installing 'chocolatey.extension', as Chocolatey-License has not been installed."
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
choco feature disable --name showNonElevatedWarnings
choco feature enable --name useBackgroundService
choco feature enable --name useBackgroundServiceWithNonAdministratorsOnly
choco feature enable --name allowBackgroundServiceUninstallsFromUserInstallsOnly
choco config set --name allowedBackgroundServiceCommands --value "install,upgrade,uninstall"
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if ($ChocolateyCentralManagementUrl) {
choco install chocolatey-agent --source $NugetRepositoryUrl --confirm
choco config set --name CentralManagementServiceUrl --value $ChocolateyCentralManagementUrl
if ($ChocolateyCentralManagementClientSalt) {
choco config set --name centralManagementClientCommunicationSaltAdditivePassword --value $ChocolateyCentralManagementClientSalt
}
if ($ChocolateyCentralManagementServiceSalt) {
choco config set --name centralManagementServiceCommunicationSaltAdditivePassword --value $ChocolateyCentralManagementServiceSalt
}
choco feature enable --name useChocolateyCentralManagement
choco feature enable --name useChocolateyCentralManagementDeployments
}
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. chocolatey.chocolatey
##### You will require the chocolatey.chocolatey collection to be installed
##### on all machines using this playbook.
##### Please see https://github.com/chocolatey/chocolatey-ansible/#installing-the-collection-from-ansible-galaxy
- name: Install and Configure Chocolatey
hosts: all
## 2. TOP LEVEL VARIABLES ##
vars:
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
nuget_repository_url: INTERNAL REPO URL
### b. Internal Repository Credential ###
#### If required, add the repository access credential here and
#### uncomment lines with source_username and source_password below
# nuget_repository_username: username
# nuget_repository_password: password
### c. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# chocolatey_central_management_url: https://chocolatey-central-management:24020/ChocolateyManagementService
#### ii. If using a Client Salt, add it here
# chocolatey_central_management_client_salt: clientsalt
#### iii. If using a Service Salt, add it here
# chocolatey_central_management_service_salt: servicesalt
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
tasks:
- name: Install chocolatey
win_chocolatey:
name: chocolatey
source: {{ nuget_repository_url }}
# source_username: {{ nuget_repository_username }}
# source_password: {{ nuget_repository_password }}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# - name: Enable FIPS compliance
# win_chocolatey_feature:
# name: useFipsCompliantChecksums
# state: enabled
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
- name: Set the cache location
win_chocolatey_config:
name: cacheLocation
state: present
value: C:\ProgramData\chocolatey\cache
#### Increase timeout to at least 4 hours
- name: Set the command execution timeout
win_chocolatey_config:
name: commandExecutionTimeoutSeconds
state: present
value: 14400
#### Turn off download progress when running choco through integrations
- name: Disable showing download progress
win_chocolatey_feature:
name: showDownloadProgress
state: disabled
### c. Sources ###
#### Remove the default community package repository source
- name: Remove Chocolatey Community Repository
win_chocolatey_source:
name: chocolatey
state: absent
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
- name: Add Internal Repository
win_chocolatey_source:
name: ChocolateyInternal
state: present
source: {{ nuget_repository_url }}
# source_username: {{ nuget_repository_username }}
# source_password: {{ nuget_repository_password }}
priority: 1
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
- name: Upgrade Chocolatey
win_chocolatey:
name: chocolatey
state: latest
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
- name: Install Chocolatey License
win_chocolatey:
name: chocolatey-license
source: ChocolateyInternal
state: latest
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
- name: Disable Chocolatey Community Repository
win_chocolatey_source:
name: chocolatey.licensed
state: disabled
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
- name: Install Chocolatey Extension
win_chocolatey:
name: chocolatey.extension
source: ChocolateyInternal
state: latest
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
- name: Hide not-elevated warnings
win_chocolatey_feature:
name: showNonElevatedWarnings
state: disabled
- name: Use background mode for self-service
win_chocolatey_feature:
name: useBackgroundService
state: enabled
- name: Use background service for non-admins
win_chocolatey_feature:
name: useBackgroundServiceWithNonAdministratorsOnly
state: enabled
- name: Allow background uninstallation for user installs
win_chocolatey_feature:
name: allowBackgroundServiceUninstallsFromUserInstallsOnly
state: enabled
- name: Set allowed background service commands
win_chocolatey_config:
name: backgroundServiceAllowedCommands
state: present
value: install,upgrade,uninstall
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
- name: Install Chocolatey Agent
when: chocolatey_central_management_url is defined
win_chocolatey:
name: chocolatey-agent
source: ChocolateyInternal
state: latest
- name: Set the Central Management Service URL
when: chocolatey_central_management_url is defined
win_chocolatey_config:
name: CentralManagementServiceUrl
state: present
value: {{ chocolatey_central_management_url }}
- name: Set the Central Management Client Salt
when: chocolatey_central_management_client_salt is defined
win_chocolatey_config:
name: centralManagementClientCommunicationSaltAdditivePassword
state: present
value: {{ chocolatey_central_management_client_salt }}
- name: Set the Central Management Service Salt
when: chocolatey_central_management_service_salt is defined
win_chocolatey_config:
name: centralManagementServiceCommunicationSaltAdditivePassword
state: present
value: {{ chocolatey_central_management_service_salt }}
- name: Use Central Management
when: chocolatey_central_management_url is defined
win_chocolatey_feature:
name: useChocolateyCentralManagement
state: enabled
- name: Use Central Management Deployments
when: chocolatey_central_management_url is defined
win_chocolatey_feature:
name: useChocolateyCentralManagementDeployments
state: enabled
See docs at https://docs.chef.io/resource_chocolatey_package.html.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### The Chocolatey resources are available with any recent version of Chef.
#### We utilise the Chocolatey recipe to install the Chocolatey binaries.
include_recipe "chocolatey"
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
NugetRepositoryUrl = "INTERNAL REPO URL"
### b. Internal Repository Credential ###
#### If required, add the repository access credential here
# NugetRepositoryUsername = "username"
# NugetRepositoryPassword = "password"
### c. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
ChocolateyNupkgUrl = "INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg",
### d. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService"
#### ii. If using a Client Salt, add it here
# ChocolateyCentralManagementClientSalt = "clientsalt"
#### iii. If using a Service Salt, add it here
# ChocolateyCentralManagementServiceSalt = "servicesalt"
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
node['chocolatey']['install vars'] = {
'chocolateyDownloadUrl' => "#{ChocolateyNupkgUrl}",
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# chocolatey_feature 'useFipsCompliantChecksums' do
# action :enable
# end
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
chocolatey_config 'cacheLocation' do
value 'C:\ProgramData\chocolatey\cache'
end
#### Increase timeout to at least 4 hours
chocolatey_config 'commandExecutionTimeoutSeconds' do
value '14400'
end
#### Turn off download progress when running choco through integrations
chocolatey_feature 'showDownloadProgress' do
action :disable
end
### c. Sources ###
#### Remove the default community package repository source
chocolatey_source 'chocolatey' do
action :remove
end
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
chocolatey_source 'ChocolateyInternal' do
source "#{NugetRepositoryUrl}"
priority 1
action :add
end
execute 'ChocolateyInternal' do
command "choco source add --name ChocolateyInternal -s #{NugetRepositoryUrl} -u=#{NugetRepositoryUsername} -p=#{NugetRepositoryPassword} --priority=1"
only_if { NugetRepositoryUsername != nil || NugetRepositoryPassword != nil }
end
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
chocolatey_package 'chocolatey' do
action :upgrade
source "#{NugetRepositoryUrl}"
end
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
chocolatey_package 'chocolatey-license' do
action :install
source "#{NugetRepositoryUrl}"
end
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
chocolatey_source 'chocolatey.licensed' do
action :disable
end
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
chocolatey_package 'chocolatey.extention' do
action install
source "#{NugetRepositoryUrl}"
end
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
chocolatey_feature 'showNonElevatedWarnings' do
action :disable
end
chocolatey_feature 'useBackgroundService' do
action :enable
end
chocolatey_feature 'useBackgroundServiceWithNonAdministratorsOnly' do
action :enable
end
chocolatey_feature 'allowBackgroundServiceUninstallsFromUserInstallsOnly' do
action :enable
end
chocolatey_config 'backgroundServiceAllowedCommands' do
value 'install,upgrade,uninstall'
end
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
chocolatey_package 'chocolatey-agent' do
action install
source "#{NugetRepositoryUrl}"
# user "#{NugetRepositoryUsername}"
# password "#{NugetRepositoryPassword}"
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_config 'CentralManagementServiceUrl' do
value "#{ChocolateyCentralManagementUrl}"
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_config 'centralManagementClientCommunicationSaltAdditivePassword' do
value "#{ChocolateyCentralManagementClientSalt}"
only_if { ChocolateyCentralManagementClientSalt != nil }
end
chocolatey_config 'centralManagementServiceCommunicationSaltAdditivePassword' do
value "#{ChocolateyCentralManagementServiceSalt}"
only_if { ChocolateyCentralManagementServiceSalt != nil }
end
chocolatey_feature 'useChocolateyCentralManagement' do
action :enable
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_feature 'useChocolateyCentralManagementDeployments' do
action :enable
only_if { ChocolateyCentralManagementUrl != nil }
end
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
If Applicable - Chocolatey Configuration/Installation
#requires -Modules cChoco
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. Requires chocolatey\cChoco DSC module to be installed on the machine compiling the DSC manifest
#### NOTE: This will need to be installed before running the DSC portion of this script
if (-not (Get-Module cChoco -ListAvailable)) {
$null = Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
if (($PSGallery = Get-PSRepository -Name PSGallery).InstallationPolicy -ne "Trusted") {
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
}
Install-Module -Name cChoco
if ($PSGallery.InstallationPolicy -ne "Trusted") {
Set-PSRepository -Name PSGallery -InstallationPolicy $PSGallery.InstallationPolicy
}
}
#### ii. Requires a hosted copy of the install.ps1 script
##### This should be available to download without authentication.
##### The original script can be found here: https://community.chocolatey.org/install.ps1
Configuration ChocolateyConfig {
## 2. TOP LEVEL VARIABLES ##
param(
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$NugetRepositoryUrl = "INTERNAL REPO URL",
### b. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
$ChocolateyNupkgUrl = "INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg",
### c. Internal Repository Credential ###
#### If required, add the repository access credential here
# $NugetRepositoryCredential = [PSCredential]::new(
# "username",
# ("password" | ConvertTo-SecureString -AsPlainText -Force)
# ),
### d. Install.ps1 URL
#### The path to the hosted install script:
$ChocolateyInstallPs1Url = "https://community.chocolatey.org/install.ps1"
### e. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService",
#### ii. If using a Client Salt, add it here
# $ChocolateyCentralManagementClientSalt = "clientsalt",
#### iii. If using a Service Salt, add it here
# $ChocolateyCentralManagementServiceSalt = "servicesalt"
)
Import-DscResource -ModuleName PSDesiredStateConfiguration
Import-DscResource -ModuleName cChoco
Node 'localhost' {
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
Environment chocoDownloadUrl {
Name = "chocolateyDownloadUrl"
Value = $ChocolateyNupkgUrl
}
cChocoInstaller installChocolatey {
DependsOn = "[Environment]chocoDownloadUrl"
InstallDir = Join-Path $env:ProgramData "chocolatey"
ChocoInstallScriptUrl = $ChocolateyInstallPs1Url
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# cChocoFeature featureFipsCompliance {
# FeatureName = "useFipsCompliantChecksums"
# }
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
cChocoConfig cacheLocation {
DependsOn = "[cChocoInstaller]installChocolatey"
ConfigName = "cacheLocation"
Value = "C:\ProgramData\chocolatey\cache"
}
#### Increase timeout to at least 4 hours
cChocoConfig commandExecutionTimeoutSeconds {
DependsOn = "[cChocoInstaller]installChocolatey"
ConfigName = "commandExecutionTimeoutSeconds"
Value = 14400
}
#### Turn off download progress when running choco through integrations
cChocoFeature showDownloadProgress {
DependsOn = "[cChocoInstaller]installChocolatey"
FeatureName = "showDownloadProgress"
Ensure = "Absent"
}
### c. Sources ###
#### Remove the default community package repository source
cChocoSource removeCommunityRepository {
DependsOn = "[cChocoInstaller]installChocolatey"
Name = "chocolatey"
Ensure = "Absent"
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here.
#### NOTE: This EXAMPLE may require changes
cChocoSource addInternalSource {
DependsOn = "[cChocoInstaller]installChocolatey"
Name = "ChocolateyInternal"
Source = $NugetRepositoryUrl
Credentials = $NugetRepositoryCredential
Priority = 1
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
cChocoPackageInstaller updateChocolatey {
DependsOn = "[cChocoSource]addInternalSource", "[cChocoSource]removeCommunityRepository"
Name = "chocolatey"
AutoUpgrade = $true
}
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
cChocoPackageInstaller chocolateyLicense {
DependsOn = "[cChocoPackageInstaller]updateChocolatey"
Name = "chocolatey-license"
}
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
Script disableLicensedSource {
DependsOn = "[cChocoPackageInstaller]chocolateyLicense"
GetScript = {
$Source = choco source list --limitoutput | `
ConvertFrom-Csv -Delimiter '|' -Header Name, Source, Disabled | `
Where-Object Name -eq "chocolatey.licensed"
return @{
Result = if ($Source) {
[bool]::Parse($Source.Disabled)
} else {
Write-Warning "Source 'chocolatey.licensed' was not present."
$true # Source does not need disabling
}
}
}
SetScript = {
$null = choco source disable --name "chocolatey.licensed"
}
TestScript = {
$State = [ScriptBlock]::Create($GetScript).Invoke()
return $State.Result
}
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
cChocoPackageInstaller chocolateyLicensedExtension {
DependsOn = "[Script]disableLicensedSource"
Name = "chocolatey.extension"
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
cChocoFeature hideElevatedWarnings {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "showNonElevatedWarnings"
Ensure = "Absent"
}
cChocoFeature useBackgroundService {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "useBackgroundService"
Ensure = "Present"
}
cChocoFeature useBackgroundServiceWithNonAdmins {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "useBackgroundServiceWithNonAdministratorsOnly"
Ensure = "Present"
}
cChocoFeature useBackgroundServiceUninstallsForUserInstalls {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "allowBackgroundServiceUninstallsFromUserInstallsOnly"
Ensure = "Present"
}
cChocoConfig allowedBackgroundServiceCommands {
DependsOn = "[cChocoFeature]useBackgroundService"
ConfigName = "backgroundServiceAllowedCommands"
Value = "install,upgrade,uninstall"
}
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if ($ChocolateyCentralManagementUrl) {
cChocoPackageInstaller chocolateyAgent {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
Name = "chocolatey-agent"
}
cChocoConfig centralManagementServiceUrl {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "CentralManagementServiceUrl"
Value = $ChocolateyCentralManagementUrl
}
if ($ChocolateyCentralManagementClientSalt) {
cChocoConfig centralManagementClientSalt {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "centralManagementClientCommunicationSaltAdditivePassword"
Value = $ChocolateyCentralManagementClientSalt
}
}
if ($ChocolateyCentralManagementServiceSalt) {
cChocoConfig centralManagementServiceSalt {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "centralManagementServiceCommunicationSaltAdditivePassword"
Value = $ChocolateyCentralManagementServiceSalt
}
}
cChocoFeature useCentralManagement {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
FeatureName = "useChocolateyCentralManagement"
Ensure = "Present"
}
cChocoFeature useCentralManagementDeployments {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
FeatureName = "useChocolateyCentralManagementDeployments"
Ensure = "Present"
}
}
}
}
# If working this into an existing configuration with a good method for
$ConfigData = @{
AllNodes = @(
@{
NodeName = "localhost"
PSDscAllowPlainTextPassword = $true
}
)
}
try {
Push-Location $env:Temp
$Config = ChocolateyConfig -ConfigurationData $ConfigData
Start-DscConfiguration -Path $Config.PSParentPath -Wait -Verbose -Force
} finally {
Pop-Location
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. Requires puppetlabs/chocolatey module
#### See https://forge.puppet.com/puppetlabs/chocolatey
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$_repository_url = 'INTERNAL REPO URL'
### b. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
$_choco_download_url = 'INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg'
### c. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $_chocolatey_central_management_url = 'https://chocolatey-central-management:24020/ChocolateyManagementService'
#### ii. If using a Client Salt, add it here
# $_chocolatey_central_management_client_salt = "clientsalt"
#### iii. If using a Service Salt, add it here
# $_chocolatey_central_management_service_salt = 'servicesalt'
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
### Note: `chocolatey_download_url is completely different than normal
### source locations. This is directly to the bare download url for the
### chocolatey.nupkg, similar to what you see when you browse to
### https://community.chocolatey.org/api/v2/package/chocolatey
class {'chocolatey':
chocolatey_download_url => $_choco_download_url,
use_7zip => false,
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
#chocolateyfeature {'useFipsCompliantChecksums':
# ensure => enabled,
#}
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
chocolateyconfig {'cacheLocation':
value => 'C:\ProgramData\chocolatey\cache',
}
#### Increase timeout to at least 4 hours
chocolateyconfig {'commandExecutionTimeoutSeconds':
value => '14400',
}
#### Turn off download progress when running choco through integrations
chocolateyfeature {'showDownloadProgress':
ensure => disabled,
}
### c. Sources ###
#### Remove the default community package repository source
chocolateysource {'chocolatey':
ensure => absent,
location => 'https://community.chocolatey.org/api/v2/',
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE requires changes
chocolateysource {'internal_chocolatey':
ensure => present,
location => $_repository_url,
priority => 1,
username => 'optional',
password => 'optional,not ensured',
bypass_proxy => true,
admin_only => false,
allow_self_service => false,
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
package {'chocolatey':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
}
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/guides/organizations/organizational-deployment-guide#exercise-4-create-a-package-for-the-license
# TODO: Add resource for installing/ensuring the chocolatey-license package
package {'chocolatey-license':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
}
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
## Disabled sources still need all other attributes until
## https://tickets.puppetlabs.com/browse/MODULES-4449 is resolved.
## Password is necessary with user, but not ensurable, so it should not
## matter what it is set to here. If you ever do get into trouble here,
## the password is your license GUID.
chocolateysource {'chocolatey.licensed':
ensure => disabled,
priority => '10',
user => 'customer',
password => '1234',
require => Package['chocolatey-license'],
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
package {'chocolatey.extension':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
require => Package['chocolatey-license'],
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
chocolateyfeature {'showNonElevatedWarnings':
ensure => disabled,
}
chocolateyfeature {'useBackgroundService':
ensure => enabled,
}
chocolateyfeature {'useBackgroundServiceWithNonAdministratorsOnly':
ensure => enabled,
}
chocolateyfeature {'allowBackgroundServiceUninstallsFromUserInstallsOnly':
ensure => enabled,
}
chocolateyconfig {'backgroundServiceAllowedCommands':
value => 'install,upgrade,uninstall',
}
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if $_chocolatey_central_management_url {
package {'chocolatey-agent':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
require => Package['chocolatey-license'],
}
chocolateyconfig {'CentralManagementServiceUrl':
value => $_chocolatey_central_management_url,
}
if $_chocolatey_central_management_client_salt {
chocolateyconfig {'centralManagementClientCommunicationSaltAdditivePassword':
value => $_chocolatey_central_management_client_salt,
}
}
if $_chocolatey_central_management_service_salt {
chocolateyconfig {'centralManagementClientCommunicationSaltAdditivePassword':
value => $_chocolatey_central_management_client_salt,
}
}
chocolateyfeature {'useChocolateyCentralManagement':
ensure => enabled,
require => Package['chocolatey-agent'],
}
chocolateyfeature {'useChocolateyCentralManagementDeployments':
ensure => enabled,
require => Package['chocolatey-agent'],
}
}
Need Help? View our docs or file an issue.
There is already a version of this package in your Script Builder
Current Version | New Version |
---|---|
- Passing
- Failing
- Pending
- Unknown / Exempted

Downloads:
5,765,352
Downloads of v 6.11.0.20220504:
51,767
Last Update:
04 May 2022
Package Maintainer(s):
Software Author(s):
- win.rar GmbH
Tags:
trial rar compression archive nagware admin- Software Specific:
- Software Site
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

WinRAR
- 1
- 2
- 3
6.11.0.20220504 | Updated: 04 May 2022
- Software Specific:
- Software Site
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
5,765,352
Downloads of v 6.11.0.20220504:
51,767
Software Author(s):
- win.rar GmbH
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
- 1
- 2
- 3
WinRAR
6.11.0.20220504
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install WinRAR, run the following command from the command line or from PowerShell:
To upgrade WinRAR, run the following command from the command line or from PowerShell:
To uninstall WinRAR, 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
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download winrar --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade winrar -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 winrar -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 winrar
win_chocolatey:
name: winrar
version: '6.11.0.20220504'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'winrar' do
action :install
source 'INTERNAL REPO URL'
version '6.11.0.20220504'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller winrar
{
Name = "winrar"
Version = "6.11.0.20220504"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'winrar':
ensure => '6.11.0.20220504',
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.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 04 May 2022.
NOTE When a new version is released, not all translations are avaialbe. Currently there is no solution to permanently fix this. For more information have a look at issue #20
WinRAR
WinRAR is a powerful archive manager. It can backup your data and reduce the size of email attachments, decompress RAR, ZIP and other files downloaded from Internet and create new archives in RAR and ZIP file format.
You can find themes for WinRAR here.
Commercial software
You can try WinRAR before you buy.
Package Parameters
The following package parameters can be set:
/LCID:
- the language code you want to install - defaults to your current language/English:
- force English language to install
To pass parameters, use --params "''"
(e.g. choco install packageID [other options] --params="'/ITEM:value /ITEM2:value2 /FLAG_BOOLEAN'"
).
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades
.
Please Note: This is an automatically updated package. If you find it is
out of date by more than a day or two, please contact the maintainer(s) and
let them know the package is no longer updating correctly.
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1
$LCID = (Get-UICulture).LCID
$url_version = '611'
$checksumType32 = 'sha256'
$checksumType64 = 'sha256'
$pp = Get-PackageParameters
if ($pp.LCID) {
Write-Debug "Override local language settings."
$LCID = $pp.LCID
}
if ($pp.English) {
Write-Debug "Force install English version"
$LCID = $null
}
#LCID table: https://msdn.microsoft.com/goglobal/bb964664.aspx
##Arabic - Saudi Arabia 1025
##Arabic - Algeria 5121
##Arabic - Bahrain 15361
##Arabic - Egypt 3073
##Arabic - Iraq 2049
##Arabic - Jordan 11265
##Arabic - Kuwait 13313
##Arabic - Lebanon 12289
##Arabic - Libya 4097
##Arabic - Morocco 6145
##Arabic - Oman 8193
##Arabic - Qatar 16385
##Arabic - Syria 10241
##Arabic - Tunisia 7169
##Arabic - U.A.E. 14337
##Arabic - Yemen 9217
if(($LCID -eq "1025") -or ($LCID -eq "5121") -or ($LCID -eq "15361") -or ($LCID -eq "3073") -or ($LCID -eq "2049") -or ($LCID -eq "11265") -or ($LCID -eq "13313") -or ($LCID -eq "12289") -or ($LCID -eq "4097") -or ($LCID -eq "6145") -or ($LCID -eq "8193") -or ($LCID -eq "16385") -or ($LCID -eq "10241") -or ($LCID -eq "7169") -or ($LCID -eq "14337") -or ($LCID -eq "9271")){
$code = "ar"
}
##Armenian 1067
elseif($LCID -eq "1067"){
$code = 'am'
}
##AAzeri (Cyrillic) 2092
##AAzeri (Latin) 1068
elseif(($LCID -eq "2092") -or ($LCID -eq "1068")){
$code = 'az'
}
##Belarusian 1059
elseif($LCID -eq "1059"){
$code = 'by'
}
##Bulgarian 1026
elseif($LCID -eq "1026"){
$code = 'bg'
}
##Catalan 1027
elseif($LCID -eq "1027"){
$code = 'by'
}
##Chinese - People's Republic of China 2052
##Chinese - Singapore 4100
##Chinese - Hong Kong SAR 3076
##Chinese - Macao SAR 5124
elseif(($LCID -eq "2052") -or ($LCID -eq "4100") -or ($LCID -eq "3076") -or ($LCID -eq "5124")){
$code = 'sc'
}
##Chinese - Taiwan 1028
elseif($LCID -eq "1028"){
$code = 'tc'
}
##Croatian 1050
##Croatian (Bosnia/Herzegovina) 4122
elseif(($LCID -eq "1050") -or ($LCID -eq "4122")){
$code = 'cro'
}
##Czech 1029
elseif($LCID -eq "1029"){
$code = 'cz'
}
##Danish 1030
elseif($LCID -eq "1030"){
$code = 'dk'
}
##Dutch - Netherlands 1043
##Dutch - Belgium 2067
elseif(($LCID -eq "1043") -or ($LCID -eq "2067")){
$code = 'nl'
}
##Estonian 1061
elseif($LCID -eq "1061"){
$code = 'est'
}
##Finnish 1035
elseif($LCID -eq "1035"){
$code = 'fi'
}
##French 1036
elseif($LCID -eq "1036"){
$code = 'fr'
}
##Galician 1110
elseif($LCID -eq "1110"){
$code = 'gl'
}
##Georgian 1079
elseif($LCID -eq "1079"){
$code = 'ge'
}
##German 1031
elseif($LCID -eq "1031"){
$code = 'd'
}
##Greek 1032
elseif($LCID -eq "1032"){
$code = 'el'
}
##Hebrew 1037
elseif($LCID -eq "1037"){
$code = 'he'
}
##Hungarian 1038
elseif($LCID -eq "1038"){
$code = 'hu'
}
##Indonesian 1057
elseif($LCID -eq "1057"){
$code = 'id'
}
##Italian - Italy 1040
##Italian - Switzerland 2064
elseif(($LCID -eq "1040") -or ($LCID -eq "2064")){
$code = 'it'
}
##Japanese 1041
elseif($LCID -eq "1041"){
$code = 'jp'
}
##Korean 1042
elseif($LCID -eq "1042"){
$code = 'kr'
}
##Lithuanian 1063
elseif($LCID -eq "1063"){
$code = 'lt'
}
##Macedonian 0047
##Macedonian (Former Yugoslav Republic of Macedonia) 1071
elseif(($LCID -eq "0047") -or ($LCID -eq "1071")){
$code = 'mk'
}
##Norwegian (Bokmål) 1044
##Norwegian (Nynorsk) 2068
elseif(($LCID -eq "1044") -or ($LCID -eq "2068")){
$code = 'no'
}
##Persian 0041
##Persian Iran 1065
elseif(($LCID -eq "0041") -or ($LCID -eq "1065")){
$code = 'prs'
}
##Polish 1045
elseif($LCID -eq "1045"){
$code = 'pl'
}
##Portuguese - Portugal
##Portuguese - Portugal 2070 (pt-pt)
elseif($LCID -eq "2070"){
$code = 'pt'
}
##Portuguese - Brazil
##Portuguese - Brazil 1046 (pt-br)
elseif($LCID -eq "1046"){
$code = 'br'
}
##Romanian 1048
##Romanian Moldava 2072
elseif(($LCID -eq "1048") -or ($LCID -eq "2072")){
$code = 'ro'
}
##Russian (ru-ru) 1049
##Russian-Moldava (ru-mo) 2073
elseif(($LCID -eq "1049") -or ($LCID -eq "2073")){
$code = 'ru'
}
##Serbian Cyrillic 3098
elseif($LCID -eq "3098"){
$code = 'srbcyr'
}
##Serbian Latin 2074
elseif($LCID -eq "2074"){
$code = 'srblat'
}
##Sinhala 1115
elseif($LCID -eq "1115"){
$code = 'si'
}
##Slovak 1051
elseif($LCID -eq "1051"){
$code = 'sk'
}
##Slovenian 1060
elseif($LCID -eq "1060"){
$code = 'slv'
}
##Spanish - Spain (Modern Sort) 3082
##Spanish - Spain (Traditional Sort) 1034 (es-es)
##Spanish - Argentina 11274
##Spanish - Bolivia 16394
##Spanish - Chile 13322
##Spanish - Colombia 9226
##Spanish - Costa Rica 5130
##Spanish - Dominican Republic 7178
##Spanish - Ecuador 12298
##Spanish - El Salvador 17418
##Spanish - Guatemala 4106
##Spanish - Honduras 18442
##Spanish - Latin America 22538
##Spanish - Mexico 2058
##Spanish - Nicaragua 19466
##Spanish - Panama 6154
##Spanish - Paraguay 15370
##Spanish - Peru 10250
##Spanish - Puerto Rico 20490
##Spanish - United States 21514
##Spanish - Uruguay 14346
##Spanish - Venezuela 8202
elseif(($LCID -eq "3082") -or ($LCID -eq "1034") -or ($LCID -eq "11274") -or ($LCID -eq "16394") -or ($LCID -eq "13322") -or ($LCID -eq "9226") -or ($LCID -eq "5130") -or ($LCID -eq "7178") -or ($LCID -eq "12298") -or ($LCID -eq "17418") -or ($LCID -eq "4106") -or ($LCID -eq "18442") -or ($LCID -eq "22538") -or ($LCID -eq "2058") -or ($LCID -eq "19466") -or ($LCID -eq "6154") -or ($LCID -eq "15370") -or ($LCID -eq "10250") -or ($LCID -eq "20490") -or ($LCID -eq "21514") -or ($LCID -eq "14346") -or ($LCID -eq "8202")){
$code = 'es'
}
##Swedish 1053
##Swedish - Finland 2077
elseif(($LCID -eq "1053") -or ($LCID -eq "2077")){
$code = 'sw'
}
##Thai 1054
elseif($LCID -eq "1054"){
$code = 'th'
}
##Turkish 1055
elseif($LCID -eq "1055"){
$code = 'tr'
}
##Turkmen 1090
elseif($LCID -eq "1090"){
$code = 'tkm'
}
##Ukrainian 1058
elseif($LCID -eq "1058"){
$code = 'ukr'
}
##Uzbek (Cyrillic) 2115
##Uzbek (Latin) 1091
elseif(($LCID -eq "2115") -or ($LCID -eq "1091")){
$code = 'uz'
}
#Valencian
#Valencian 2051
elseif($LCID -eq "2051"){
$code = 'va'
}
##Vietnamese 1066
elseif($LCID -eq "1066"){
$code = 'vn'
}
##English --- all
else{
$code = 'en'
}
$downloadInfo = GetDownloadInfo -downloadInfoFile "$toolsPath\downloadInfo.csv" -code $code -urlVersion $url_version
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'exe'
url = $downloadInfo.URL32
checksum = $downloadInfo.Checksum32
checksumType = $checksumType32
url64bit = $downloadInfo.URL64
checksum64 = $downloadInfo.Checksum64
checksumType64= $checksumType64
softwareName = 'WinRAR*'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs
$packageName = $env:ChocolateyPackageName
$packageSearch = "WinRAR*"
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)
Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
-ErrorAction:SilentlyContinue `
| Where-Object {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$($silentArgs)" `
-File "$($_.UninstallString.Replace('"',''))" `
-ValidExitCodes $validExitCodes}
en|https://www.rarlab.com/rar/winrar-x64-611.exe|24fc7955fada6b9802f4e50e935ebd5654fd7382faf641b27dd626f4b3563974|https://www.rarlab.com/rar/winrar-x32-611.exe|59276c49519ebd5194b95622c1c81d4b2c45d14eb6b07ea6d9f2b37c9c7bbf93
ar|https://www.rarlab.com/rar/winrar-x64-611ar.exe|5a57b4f6064bd3efd5703b757348a322e92dba3006663b956ba83ae5e4ad052c|https://www.rarlab.com/rar/winrar-x32-611ar.exe|39ab5907da43768e2280f1ac7f610d5b9122372855113b220f5cc22694c6c42c
am|https://www.rarlab.com/rar/winrar-x64-611am.exe|9e6c539b25bc6374bc9474d1cab255c933b005ec27bc9f879dcc8fc227585ed7|https://www.rarlab.com/rar/winrar-x32-611am.exe|a62e43d683eb644797e8b5892a4864c59a96eb02c9a280cdfccda26d5d66efd7
az|https://www.rarlab.com/rar/winrar-x64-611az.exe|0efcd1a1b456cbd3dcfbd9c77ce319c3f383b231b3251d547118aa5f5f1c3168|https://www.rarlab.com/rar/winrar-x32-611az.exe|03afec1d44edb4c67af78047dd7c81c33974e0c27159e2e451ae08ddad53368b
bg|https://www.rarlab.com/rar/winrar-x64-611bg.exe|08359eeb32aab2cc5421b73d7f5072a6d33bb613f8b5bce5675e70be01aee832|https://www.rarlab.com/rar/winrar-x32-611bg.exe|91fd68051f6adb05f8fc92621b7ddd42c8a0d32b0db7ee4c1a35262442ccd96c
ca|https://www.rarlab.com/rar/winrar-x64-611ca.exe|4d2ebd3758ba72f76d6a147f1a013fc4e376f081cda91b14334229913c122c5d|https://www.rarlab.com/rar/winrar-x32-611ca.exe|6ecb40b21a529b4412d00c0b323fccc47ab7316c1d85d450793cae5eae6c0fa9
sc|https://www.rarlab.com/rar/winrar-x64-611sc.exe|a364612c5acc56c057fec0428220eca991b58a47bd3a7ae4c1b4e0a644ad79da|https://www.rarlab.com/rar/winrar-x32-611sc.exe|cfcebea91ee1837950bed722a92d240bbdcafc7e1fcb76e9fc5d9ce4acea6ccd
tc|https://www.rarlab.com/rar/winrar-x64-611tc.exe|126ac1b858f769d5dffb39cff603bf0ec79dc21b8d7b79e92e29463d1786996a|https://www.rarlab.com/rar/winrar-x32-611tc.exe|7ffbd880bc92442c84413397028ef65a16cde9fa87eff0a55dc5a93c61d68b84
cz|https://www.rarlab.com/rar/winrar-x64-611cz.exe|6c49739d98d90d190ee8ab2aaaf4831b0651aed006e6836ec76de25f2803568b|https://www.rarlab.com/rar/winrar-x32-611cz.exe|6b9f4702e58d97bf1e835871987a5887635f91f083342570db8423e4f2db2a80
dk|https://www.rarlab.com/rar/winrar-x64-611dk.exe|cb1f96cb804d1f89447a53968c3e3a83409b7b3fb6876e0be614b4932c674251|https://www.rarlab.com/rar/winrar-x32-611dk.exe|0d42fef9e9dc906cbf75d230dbfc902e1c95a2d5fbf6994d53686ac80300733a
nl|https://www.rarlab.com/rar/winrar-x64-611nl.exe|c58d3cac7f145f3a9aae933f0d5927936d138ecdd9f82cc643be1928ee5527a2|https://www.rarlab.com/rar/winrar-x32-611nl.exe|85d71fde623f35ccb48dd5e15c667868d49a84b4284e4d7c069131222c92dc5c
en|https://www.rarlab.com/rar/winrar-x64-611.exe|24fc7955fada6b9802f4e50e935ebd5654fd7382faf641b27dd626f4b3563974|https://www.rarlab.com/rar/winrar-x32-611.exe|59276c49519ebd5194b95622c1c81d4b2c45d14eb6b07ea6d9f2b37c9c7bbf93
eu|https://www.rarlab.com/rar/winrar-x64-611eu.exe|3094e8467a71ecf193f29cd8fbda4ee087e8511188c22235ae6ad25306adcfc3|https://www.rarlab.com/rar/winrar-x32-611eu.exe|190a9b33763395dbc184b66a0093a3e588fd4dbdcb057d656dd6f2f0504f5dc3
fi|https://www.rarlab.com/rar/winrar-x64-611fi.exe|aab235b2dbfca60417c55de03f51583e3ffec34550faa84023afd9daa305ca78|https://www.rarlab.com/rar/winrar-x32-611fi.exe|5cfa6f1055a74b9df8f5023c6d7977f82a68dd10ee7cf1b5d1a824d963c9396b
fr|https://www.rarlab.com/rar/winrar-x64-611fr.exe|4bad33dced7e78516c1000cdcb3e8b94e6bb6718ce9aab91edfdf4345c12787a|https://www.rarlab.com/rar/winrar-x32-611fr.exe|87e7ecf40703ef0b77b4728b2fe7d5c0e037673ae43d967f133ba60585957ae9
gl|https://www.rarlab.com/rar/winrar-x64-611gl.exe|8b4b0afd10b9cf6fc5658d8797676394be9503278d4b3cd4ee226571a0a73e1d|https://www.rarlab.com/rar/winrar-x32-611gl.exe|c8d82e48d9b669aaff53a56b8390c1d14996a2cb5482b14fad7140b5053fdd02
d|https://www.rarlab.com/rar/winrar-x64-611d.exe|ebcb635257c85bb64d06aca82a2e6f51d0f4b968128822bb5a79275e40dce1a5|https://www.rarlab.com/rar/winrar-x32-611d.exe|f01d6425516f47757c3dedf004b7b008233aa9a93cec88fac20198585840802f
el|https://www.rarlab.com/rar/winrar-x64-611el.exe|31daa9f63b084d70ea66a578bbd590ed646eb39ed17e899f0808ddd19b741988|https://www.rarlab.com/rar/winrar-x32-611el.exe|30b92948ea3226df2cfbeaa8dfa25f1951ee3e1131e086aaf54751f5fdbcef17
he|https://www.rarlab.com/rar/winrar-x64-611he.exe|206a8e246c2ac10c63ba7aab6ae4689c5be23488aed3fc4ec6f72368c93dcb9b|https://www.rarlab.com/rar/winrar-x32-611he.exe|447ca506f4686e0171c6cbe14ce4a75fca127f858ba2731ee95f1e4b374342f0
hu|https://www.rarlab.com/rar/winrar-x64-611hu.exe|48c4a4c24a88c92f211d8915bbf1e77882c7cdb93060c9b5cc73f76819a46ec1|https://www.rarlab.com/rar/winrar-x32-611hu.exe|0719423d3f6337da9ea136cd430d9cd630e02bf2a7b731eaea2fe4b32d0cc65c
id|https://www.rarlab.com/rar/winrar-x64-611id.exe|6e9183f3eb5a095a24583347731e8785fdb060cd7e1e1b8fc24992073b9ffaa6|https://www.rarlab.com/rar/winrar-x32-611id.exe|3f7fc7ee3662a8de876533e353b53687a1446264d812f91dca80881a34cf71c2
it|https://www.rarlab.com/rar/winrar-x64-611it.exe|51f9b7eb6c6fa58ae2cd7119de5a868804f7e19f7ec9f6ed93e7ab2ab11b13e2|https://www.rarlab.com/rar/winrar-x32-611it.exe|4d20768c976edab854e167b121d63fabca450a33f672dca7be931219416965f6
jp|https://www.rarlab.com/rar/winrar-x64-611jp.exe|bd86a55d8f7967c9b85e3b91cc89177ad5c8cab7ca8d3734c85fed139770dce0|https://www.rarlab.com/rar/winrar-x32-611jp.exe|9ca601a53961b96720b6391b1e56914993d61be52656830285160235f45a161b
kr|https://www.rarlab.com/rar/winrar-x64-611kr.exe|29bd2d391f205fda5c26c2c5eb9e71db6dfc7e7c419ec0710c8fb65e771c548c|https://www.rarlab.com/rar/winrar-x32-611kr.exe|b6ab68c277e503ed7162897143252790f367b2f6514d6605968551ffca9f28dc
mn|https://www.rarlab.com/rar/winrar-x64-611mn.exe|9de17aae0e76cb7116007544797d586a04df820b8ea48149428253831b60488d|https://www.rarlab.com/rar/winrar-x32-611mn.exe|7b862f555ec6b4c2587f80d175ee8bcddad260c6c5a4e75ab5f6ff8301e3ec22
no|https://www.rarlab.com/rar/winrar-x64-611no.exe|ef221b1aebc446d0ca21e06f55698380b6ccd1ea5901929c16191d7428382d4f|https://www.rarlab.com/rar/winrar-x32-611no.exe|bea54e696d9c480a3dd939bc45253694ba8edb54f6f95c76a68cc11b20e590aa
prs|https://www.rarlab.com/rar/winrar-x64-611prs.exe|f69575d131f5dd1584e465d8f3b120ccdd6d86fdb3f4aac4f9d9c0ad57955bfb|https://www.rarlab.com/rar/winrar-x32-611prs.exe|abe29f08a439e06b7956f97593f15054d224769d579f3d30a39b8177e3328cc3
pl|https://www.rarlab.com/rar/winrar-x64-611pl.exe|c28087da67460fe314193e1f648d860ee5bf303d08513f20dcc377e0a80abffd|https://www.rarlab.com/rar/winrar-x32-611pl.exe|b253978c2c484edad1121d6f4f292655bb7c29ff6d89f503ab9ae94767c50b61
pt|https://www.rarlab.com/rar/winrar-x64-611pt.exe|65ada172d2ebff8c92e915e9d88242e571e276d0b3e14178e7e14d89018ad8a3|https://www.rarlab.com/rar/winrar-x32-611pt.exe|8a0e4c6a35dedc24f30f75bcf02d8c968426e26ae14749149037cf12b96a0448
br|https://www.rarlab.com/rar/winrar-x64-611br.exe|6e5d0a83cb4ecbf9319a223dc98ed2ca2a4fd0d0354d7e4138941fc2ddbec308|https://www.rarlab.com/rar/winrar-x32-611br.exe|aefcb04470599a600d2a011c2e40b73a8072752382d0bdc26f31c2db9a12de39
ro|https://www.rarlab.com/rar/winrar-x64-611ro.exe|512e7bdd54ba6e39f1d34eeca17a13a81e203e0474eb0249c63190e8f2db46e5|https://www.rarlab.com/rar/winrar-x32-611ro.exe|65de223c4aa189d3df77a4c2c2f39031437f785ff9c7e81a73b1b9564939f7ed
ru|https://www.rarlab.com/rar/winrar-x64-611ru.exe|808786a8169f885849dc6036c66795269a0367059aea2b34430bc1ac528e70bf|https://www.rarlab.com/rar/winrar-x32-611ru.exe|1fb39bd6248cb7af08bd304da2d452459f6023fcbcff9d0530508e8a0740361b
srbcyr|https://www.rarlab.com/rar/winrar-x64-611srbcyr.exe|6b3b7a33130d7249836c7312b6cff973ba0872b9a80f7ef905bbf1cd70945946|https://www.rarlab.com/rar/winrar-x32-611srbcyr.exe|02dcd905fe1bd1fd0a0650ed3a887801494ba2468104ce6e0f36716f76c08fcf
sk|https://www.rarlab.com/rar/winrar-x64-611sk.exe|d8886dada148f8518c9f5ed34dbbcd513c4b2e751456dc06e6ebea306ae11289|https://www.rarlab.com/rar/winrar-x32-611sk.exe|c3d6721bb4b0754589a2a30b26fad72a07a5d90f059c8f61292ead7fae1049b9
slv|https://www.rarlab.com/rar/winrar-x64-611slv.exe|9f96cea5449e356a966cca584204b578456f49bbed57944d38f0033be0e8b93d|https://www.rarlab.com/rar/winrar-x32-611slv.exe|a977479d2530445b405fd6bdb36917cebd785c402108f016a725999e32ee4572
es|https://www.rarlab.com/rar/winrar-x64-611es.exe|99dd0cb4c3d204924515a4bcf39b7deaa01f7dbfb9001e1891cdb1b6fbb03ac4|https://www.rarlab.com/rar/winrar-x32-611es.exe|755672f18258088ecc42f74ee4d63916087fed2e052c793fc71043d33f6dc590
sw|https://www.rarlab.com/rar/winrar-x64-611sw.exe|a0cd9e922f9a48a835013a1cc3e51a9265824aeee17a23c28e13d609f203a7e3|https://www.rarlab.com/rar/winrar-x32-611sw.exe|ef421eab44b405142c7ebcb72c1b1df55e6dd0defb57c0960d882511ed28b254
th|https://www.rarlab.com/rar/winrar-x64-611th.exe|43d691c3105c99cff6d063ac54c7747fa4357c535069dd575d707724c06158ab|https://www.rarlab.com/rar/winrar-x32-611th.exe|52c8a4ed6d95c96e0b8fa712c0f921d9ca3c729c97f9bbcdb700407439f153d2
tr|https://www.rarlab.com/rar/winrar-x64-611tr.exe|37ff0f030664e58c6fe5a1941c97207a7475996dcaf3f1ab4e13bb4b221ac71c|https://www.rarlab.com/rar/winrar-x32-611tr.exe|347577de2a1efbc3153f14647d3471a9bb5709906a1af564e74ddb8fb8f7b064
uk|https://www.rarlab.com/rar/winrar-x64-611uk.exe|5a029fca0cfe40cb216c80d453012378149d786bb2075ac84707f21b757d4764|https://www.rarlab.com/rar/winrar-x32-611uk.exe|c04abfc01034d3d5e9bd29955bb3777c4d7caea525d8e265b2f4be240412c42e
vn|https://www.rarlab.com/rar/winrar-x64-611vn.exe|5c5a883a1d83ef01331383cc3ff3b664006166b5dcba761931046818ac4d7a05|https://www.rarlab.com/rar/winrar-x32-611vn.exe|f98e5a55a4f3cfc82863a4f88015ab468845e21cdbbf1e5e437fad687ce17c10
function GetDownloadInfo {
param(
[string]$downloadInfoFile,
[string]$code,
[string]$urlVersion
)
Write-Debug "Reading CSV file from $downloadInfoFile"
$downloadInfo = Get-Content -Encoding UTF8 -Path $downloadInfoFile | ConvertFrom-Csv -Delimiter '|' -Header 'Code','URL64','Checksum64','URL32','Checksum32'
$result = $downloadInfo | Where-Object { $_.Code -eq $code } | Select-Object -first 1
if (!$result) {
$result = $downloadInfo | Where-Object { $_.Code -eq 'en' } | Select-Object -first 1
$result.URL64 = $result.URL64 -replace $urlVersion, "${urlVersion}${code}"
$result.URL32 = $result.URL32 -replace $urlVersion, "${urlVersion}${code}"
$result.Checksum32 = ''
$result.Checksum64 = ''
}
$result
}
Log in or click on link to see number of positives.
- winrar-x64-611.exe (24fc7955fada) - ## / 63
- winrar-x32-611.exe (59276c49519e) - ## / 68
- winrar.6.11.0.20220504.nupkg (f4b60dabdd45) - ## / 62
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 |
---|---|---|---|---|
WinRAR 6.11.0.20220504 | 51767 | Wednesday, May 4, 2022 | Approved | |
WinRAR 6.11 | 140191 | Friday, March 4, 2022 | Approved | |
WinRAR 6.10.0.20220128 | 99042 | Friday, January 28, 2022 | Approved | |
WinRAR 6.10 | 30159 | Tuesday, January 25, 2022 | Approved | |
WinRAR 6.02 | 361842 | Monday, June 14, 2021 | Approved | |
WinRAR 6.01 | 166528 | Monday, April 12, 2021 | Approved | |
WinRAR 6.0.0.20210102 | 259698 | Saturday, January 2, 2021 | Approved | |
WinRAR 6.00 | 75746 | Monday, December 7, 2020 | Approved | |
WinRAR 5.91.0.20200917 | 147211 | Thursday, September 17, 2020 | Approved | |
WinRAR 5.91 | 136877 | Monday, June 29, 2020 | Approved | |
WinRAR 5.90.0.20200528 | 51214 | Thursday, May 28, 2020 | Approved | |
WinRAR 5.90.0.20200401 | 91772 | Wednesday, April 1, 2020 | Approved | |
WinRAR 5.90 | 23461 | Monday, March 30, 2020 | Approved | |
WinRAR 5.80.0.20200219 | 77697 | Wednesday, February 19, 2020 | Approved | |
WinRAR 5.80.0.20200102 | 124844 | Thursday, January 2, 2020 | Approved | |
WinRAR 5.80 | 52719 | Wednesday, December 11, 2019 | Approved | |
WinRAR 5.71 | 294504 | Wednesday, May 8, 2019 | Approved | |
WinRAR 5.70.0.20190305 | 55141 | Tuesday, March 5, 2019 | Approved | |
WinRAR 5.70 | 35901 | Wednesday, February 27, 2019 | Approved |
win.rar GmbH
This package has no dependencies.
Ground Rules:
- This discussion is only about WinRAR and the WinRAR 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 WinRAR, 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.