Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

7,215,023

Downloads of v 5.90.0.20200528:

51,288

Last Update:

28 May 2020

Package Maintainer(s):

Software Author(s):

  • win.rar GmbH

Tags:

trial rar compression archive nagware admin

WinRAR

This is not the latest version of WinRAR available.

  • 1
  • 2
  • 3

5.90.0.20200528 | Updated: 28 May 2020

Downloads:

7,215,023

Downloads of v 5.90.0.20200528:

51,288

Maintainer(s):

Software Author(s):

  • win.rar GmbH

WinRAR 5.90.0.20200528

This is not the latest version of WinRAR available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

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

  • 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 winrar -y --source="'INTERNAL REPO URL'" --version="'5.90.0.20200528'" [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'" --version="'5.90.0.20200528'" 
$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: '5.90.0.20200528'
    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  '5.90.0.20200528'
end

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


cChocoPackageInstaller winrar
{
    Name     = "winrar"
    Version  = "5.90.0.20200528"
    Source   = "INTERNAL REPO URL"
}

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


package { 'winrar':
  ensure   => '5.90.0.20200528',
  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 29 May 2020.

Description

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.


tools\helpers.ps1
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
}
tools\downloadInfo.csv
en|https://www.rarlab.com/rar/winrar-x64-590.exe|f541c80ac787a26931b7b1eba1fefcda56a3a05ca44c1e961efe4a5a480175bf|https://www.rarlab.com/rar/wrar590.exe|4ede5d50ee254e6d2bd5a5832d55ca38cd46e85379a31cde5d717165ce0c70a5
ar|https://www.rarlab.com/rar/winrar-x64-590ar.exe|75b1e69e0a82ecccdcd9ebafe362b6f9eac10504c9f8d768b15b93db40256af7|https://www.rarlab.com/rar/wrar590ar.exe|4f50c2657228f879817dd135ad94f3a2eb3e005768b1daf70b4d2a5fae7711e3
am|https://www.rarlab.com/rar/winrar-x64-590am.exe|aaec503a75a99f1087bddd317afc148fa9e6efc0510a569e7f1c306edae991fc|https://www.rarlab.com/rar/wrar590am.exe|3a51ef7b85aa823e3bd29ba9f37bfbc3c66692fa32a749c1e539882337ff14c2
bg|https://www.rarlab.com/rar/winrar-x64-590bg.exe|9f098b23cf2fab47bf472bb7a091eebca5ef0a6f027a2a138302881041192b26|https://www.rarlab.com/rar/wrar590bg.exe|59368f40b4fd7de69d5076006ad3f9e361699d4c3ade46625b9151217a511f25
ca|https://www.rarlab.com/rar/winrar-x64-590ca.exe|41c129f2356b608a18d83c04e6c7182ceab96c92110b06bf96e4ec4adf2f5494|https://www.rarlab.com/rar/wrar590ca.exe|c21d6521849aee39d4f44debb017f3fcbc47395b1b8004f50f5ad97fc1c10dda
sc|https://www.rarlab.com/rar/winrar-x64-590sc.exe|65d25973347bbcf5da826b1e136574601317b7b938764246e65d4f712279b920|https://www.rarlab.com/rar/wrar590sc.exe|d760d3152f2490bd16e88e436099d85a6eb8bc9d4968389e5796f98c8a8c9630
tc|https://www.rarlab.com/rar/winrar-x64-590tc.exe|f1b131516c3e41a056970f90f5676b6007af71735e5b273b48f3deb04ffbd994|https://www.rarlab.com/rar/wrar590tc.exe|1f38a9db8c6fdc14f6c868c8e63dba0d35d407c4bd121ad327940c42e645bdfa
cro|https://www.rarlab.com/rar/winrar-x64-590cro.exe|26d84189481ed3f38f9c585fd32fd4fedaf756de90e111684658c26bb1ae158c|https://www.rarlab.com/rar/wrar590cro.exe|f67c2144cafa9c7d526e0b1a81bc544e3d6cf17788a8b88dd826537db4a34e52
cz|https://www.rarlab.com/rar/winrar-x64-590cz.exe|7341cae94a71b99462d246aa11876dbd83b2da0c3aab35930157ec09cc4b7b0b|https://www.rarlab.com/rar/wrar590cz.exe|ae11ee7c2e074719cfed653d7770b4b17fb08758640334f01f27b8160239ddaa
dk|https://www.rarlab.com/rar/winrar-x64-590dk.exe|8b190a2305ffa75e7cf66b62ad9070e81481cf85aa32b7942a7a435f8fc48de7|https://www.rarlab.com/rar/wrar590dk.exe|15d805de32dfee308a7a0d5b68d27ca1c9bdee5298540a0813d77c181f8c4c40
nl|https://www.rarlab.com/rar/winrar-x64-590nl.exe|2daa62d6f2a4664247ed1bb7913f3c02ea71b099b37885d532de595a1c8e46f8|https://www.rarlab.com/rar/wrar590nl.exe|c95811b5544e7c77dbc9980c4a87e30f275fa313a90098242f85e8a23aa1ee35
en|https://www.rarlab.com/rar/winrar-x64-590.exe|f541c80ac787a26931b7b1eba1fefcda56a3a05ca44c1e961efe4a5a480175bf|https://www.rarlab.com/rar/wrar590.exe|4ede5d50ee254e6d2bd5a5832d55ca38cd46e85379a31cde5d717165ce0c70a5
eu|https://www.rarlab.com/rar/winrar-x64-590eu.exe|0465f47defa7d60198d45e4010f1dbe3ba6425973ccd0933767d1a5274007f15|https://www.rarlab.com/rar/wrar590eu.exe|d6bdb9f4dbbfd2d825d16806174e0c20d42715ebf9d98225fbab97dc7136ff0d
fi|https://www.rarlab.com/rar/winrar-x64-590fi.exe|a6edff231b11c405dff63e4d1a5c82f9a4fb4b683adae1eda53636740bcfcab3|https://www.rarlab.com/rar/wrar590fi.exe|1ec81049058728829a8306880c81bed08a88bf7521c5b914557099872abb75ec
fr|https://www.rarlab.com/rar/winrar-x64-590fr.exe|0b45ce6e431c56a4e1348e09b32ce357105b49a25eded225c8337839e10ecc1b|https://www.rarlab.com/rar/wrar590fr.exe|b5033b187f944127d2380699cded853a068ba5b43624bde216e54ca1dfb402e5
gl|https://www.rarlab.com/rar/winrar-x64-590gl.exe|b1df5f5417ec0025aa7482a862cb63250f023d390a5ca8733cb4dc9df6940d7f|https://www.rarlab.com/rar/wrar590gl.exe|3dcd0197c3d90aedaea28b6bbb5313a558f79a36e65bdcb7c3af8508a37ab25c
d|https://www.rarlab.com/rar/winrar-x64-590d.exe|af3b1dde12fd6c63335b78c05729da4403b43ad92400d4c2aa72f45e14b595c7|https://www.rarlab.com/rar/wrar590d.exe|4ab5247c323be87a86f725a5ad23b24251bfa87102e50a2e2ff11fdfae44d5a4
he|https://www.rarlab.com/rar/winrar-x64-590he.exe|4fa7f4e5e17fffca41e610c38dc08de50ed368212cf21e4a73fcb1f0fb7acd83|https://www.rarlab.com/rar/wrar590he.exe|12a2e0d0ed40860afa0868d79d3cd32d7ab2b3538d5860322723f3ce2e2cbaf9
hu|https://www.rarlab.com/rar/winrar-x64-590hu.exe|ba0bc3a72501e1a45b970bc7dda516058f32815fe9eaa59f3a79e0a72777b8fd|https://www.rarlab.com/rar/wrar590hu.exe|1f4f83775c35abab49406b48b3722eee7b0a6a87cf4c5422aa19998bd0cc58fb
id|https://www.rarlab.com/rar/winrar-x64-590id.exe|78ef18fecda76283f13e4370f9b6ca11af53d3d1ae8ede72cf8e138ae6bf2a7f|https://www.rarlab.com/rar/wrar590id.exe|bace6163721e28d00c1d4090017d816aeddd6fbe1dd2ca88333c2992177d6f67
it|https://www.rarlab.com/rar/winrar-x64-590it.exe|6a3ed80c43596eebc3638b42c22377024cafadc1b36194aeacb2bd47b333a925|https://www.rarlab.com/rar/wrar590it.exe|7492d177363716afd678349fa532da3c778f44dd6fdef508eccbb1cb8fcca0da
jp|https://www.rarlab.com/rar/winrar-x64-590jp.exe|15398fbd63d7e1eae182fa41fa1e8e502b5ae9252867bb57adaae7f39a1fdd06|https://www.rarlab.com/rar/wrar590jp.exe|fdcc17880bf35eed9ef57e6f51ef6fed9232733bfe39fde76a7bf53c01d5cfb0
kr|https://www.rarlab.com/rar/winrar-x64-590kr.exe|3b0e3c268ce91a45520103ecf57ffb3e8eb224d59323de393b48a97434734a1a|https://www.rarlab.com/rar/wrar590kr.exe|33e5dacb42e6ff18b0b36fedad55787774f48e1f02abf14fc9ec52e8b4243a0d
lt|https://www.rarlab.com/rar/winrar-x64-590lt.exe|18cc95a378d73300556861d834bc338cbf55da6e4ad78a86c63301296c45aaa7|https://www.rarlab.com/rar/wrar590lt.exe|bf2e3fbdc1e3c17bbdd7e7eb1cfadf5e33ad741343920a347cc56d7db7481a0d
mn|https://www.rarlab.com/rar/winrar-x64-590mn.exe|5a6efdacfd16f511f67c5759963d4e765063c3a1e88c6090c65c92384ac99979|https://www.rarlab.com/rar/wrar590mn.exe|865bf9b9ddfd9ddd2ba75b9304f70de526142d1bb6dbaa1bba7b6f29ce879b1a
prs|https://www.rarlab.com/rar/winrar-x64-590prs.exe|f05e441d227560206c068a012d6516931fc51f3d0e2fa22449fe8f609780f2b1|https://www.rarlab.com/rar/wrar590prs.exe|0b836acdd6edfcac15b41bf88473d6ace9d91407063e7e57daac308ba96e0b5f
pl|https://www.rarlab.com/rar/winrar-x64-590pl.exe|d0e0232e7f06bec272880e22bd8416ff9512117ce865d6a7924a4ad01225f643|https://www.rarlab.com/rar/wrar590pl.exe|cb3fb42b87996182cf9a5f4538b4194c2f315ad14cd653b00bfc24a69f9dc00a
pt|https://www.rarlab.com/rar/winrar-x64-590pt.exe|37546b65e4be05ad5f232fa6aba0912f6bac1d620506d3cc1ff8e2d8978798a7|https://www.rarlab.com/rar/wrar590pt.exe|198e19bea9881ee8e4f3d7a619015395ac50d3734be4cf6ed6ce55d9952a0af5
br|https://www.rarlab.com/rar/winrar-x64-590br.exe|688c54fe04b9aed2b63888522e2ccd52142daa5c43bc6a04dc1cfcf2be69cf28|https://www.rarlab.com/rar/wrar590br.exe|dfd72baf2cd927f3e3a890fc0219bba0435ff02377ed7cb3566a60f88d3827ed
ro|https://www.rarlab.com/rar/winrar-x64-590ro.exe|9eca1232591d6ab15ef7b20eb0b2b92146d51b439b3ee4e87baa3c4b09904b29|https://www.rarlab.com/rar/wrar590ro.exe|188eab437eae7c7e9dc0caf206234a789d1e5044f79f336009df0b33e921e2c7
ru|https://www.rarlab.com/rar/winrar-x64-590ru.exe|26e23b55452f560bb1fedc4f36e68c33f2aa1d6dd30f9eadf74aa2564cd1e676|https://www.rarlab.com/rar/wrar590ru.exe|7859bbadb069f79e50e0f328a9b5aaca8cd01614b228b500c489f3791253b6db
srbcyr|https://www.rarlab.com/rar/winrar-x64-590srbcyr.exe|844989247e9169077c85e6e56555ab34e24923972d2b44f3a725f7d609c4c5d9|https://www.rarlab.com/rar/wrar590srbcyr.exe|2b0442f013b702aaa08e1485d25f39a2c14a7c76c8811e1c8f280064bbe67661
sk|https://www.rarlab.com/rar/winrar-x64-590sk.exe|3e90fc5240b9ca532828b6bb205623f1436ee94d4afb15eefd435d7a0094c206|https://www.rarlab.com/rar/wrar590sk.exe|97e76acddf91e691291a29f59433357cb45352f90e21bce429af04754ac945fc
slv|https://www.rarlab.com/rar/winrar-x64-590slv.exe|47ff5359de6c818d399474dd39d843579aace49b3d3932a2106c35528186c6f5|https://www.rarlab.com/rar/wrar590slv.exe|de6bdf24ed52a93080027dce24dff35abc72e355d1886df8f5c15035a31e7eb1
es|https://www.rarlab.com/rar/winrar-x64-590es.exe|37a4fb181ec8b24338ea7fccc403218c2ce4aacf1012457797cb7317743b9710|https://www.rarlab.com/rar/wrar590es.exe|a25a7ae683ff603c2c796bb8baf642077e2e1b2ca303a3d330e3391e273e8b8d
esco|https://www.rarlab.com/rar/winrar-x64-590esco.exe|d3b651654a809cde8f74809cacd414ffcd9d51ac6f3f7e6c067b7bbbe5359547|https://www.rarlab.com/rar/wrar590esco.exe|aa446d04294c6916e5d8f863d98d0e2f7f2bb54c5e34c445fbbdea883c1b10d8
sw|https://www.rarlab.com/rar/winrar-x64-590sw.exe|a265a22164595cfd02326ee4024a3f32fe5966bb00d81f052ce62881902962ee|https://www.rarlab.com/rar/wrar590sw.exe|d79e7ea93dbf14c782e21967f1a1742a84bf9cb5854c4456eb36cac0d6eaba82
th|https://www.rarlab.com/rar/winrar-x64-590th.exe|320a54dccb4e1d2aa08f31e11f6696d03738a82a53a6463ba5f055cfc5647fb4|https://www.rarlab.com/rar/wrar590th.exe|d5f95c21e5bca9755ca408a9c03875faf78c181e6edd34c9813f4e1575fc7923
tr|https://www.rarlab.com/rar/winrar-x64-590tr.exe|469463e2cb275e740efb44105a1d40cba7d31af326bddefaf0c4db77eb300865|https://www.rarlab.com/rar/wrar590tr.exe|bb9c44870886e8545cffbdab68de5cd4cd437fab426a9c7b240012dbee6f854f
uk|https://www.rarlab.com/rar/winrar-x64-590uk.exe|af5306261c9bcf0c2a7f6f772fce598b9bad6df8acae939cd2da3bb608b960b1|https://www.rarlab.com/rar/wrar590uk.exe|07d6793dfb3e34d331e388b58b924f655ccee93148191ff696109b31fb3ff925
tools\chocolateyUninstall.ps1
$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}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$LCID = (Get-UICulture).LCID
$url_version = '590'

$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

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
WinRAR 6.24 247259 Thursday, October 5, 2023 Approved
WinRAR 6.23 193941 Wednesday, August 2, 2023 Approved
WinRAR 6.22 135221 Thursday, June 8, 2023 Approved
WinRAR 6.21 213943 Monday, February 20, 2023 Approved
WinRAR 6.20 157266 Monday, January 23, 2023 Approved
WinRAR 6.11.0.20220504 343308 Wednesday, May 4, 2022 Approved
WinRAR 6.11 141667 Friday, March 4, 2022 Approved
WinRAR 6.10.0.20220128 99398 Friday, January 28, 2022 Approved
WinRAR 6.10 30242 Tuesday, January 25, 2022 Approved
WinRAR 6.02 362259 Monday, June 14, 2021 Approved
WinRAR 6.01 166765 Monday, April 12, 2021 Approved
WinRAR 6.0.0.20210102 259970 Saturday, January 2, 2021 Approved
WinRAR 6.00 75956 Monday, December 7, 2020 Approved
WinRAR 5.91.0.20200917 147342 Thursday, September 17, 2020 Approved
WinRAR 5.91 137097 Monday, June 29, 2020 Approved
WinRAR 5.90.0.20200528 51288 Thursday, May 28, 2020 Approved
WinRAR 5.90.0.20200401 91896 Wednesday, April 1, 2020 Approved
WinRAR 5.90 23529 Monday, March 30, 2020 Approved
WinRAR 5.80.0.20200219 77783 Wednesday, February 19, 2020 Approved
WinRAR 5.80.0.20200102 124940 Thursday, January 2, 2020 Approved
WinRAR 5.80 52806 Wednesday, December 11, 2019 Approved
WinRAR 5.71 294821 Wednesday, May 8, 2019 Approved
WinRAR 5.70.0.20190305 56449 Tuesday, March 5, 2019 Approved
WinRAR 5.70 36030 Wednesday, February 27, 2019 Approved

This package has no dependencies.

Discussion for the WinRAR Package

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.
comments powered by Disqus