Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of WinRAR available.

WinRAR

5.40.0.20161221

Package test results are passing.

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

This package was approved as a trusted package on 7/17/2017.

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.

Commercial software

You can try WinRAR before you buy.

To install WinRAR, run the following command from the command line or from PowerShell:

C:\> choco install winrar --version 5.40.0.20161221

To upgrade WinRAR, run the following command from the command line or from PowerShell:

C:\> choco upgrade winrar --version 5.40.0.20161221

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'winrar'
    $installerType = 'exe'
    $url = 'http://www.rarlab.com/rar/wrar'
    $url64 = 'http://www.rarlab.com/rar/winrar-x64-'
    $silentArgs = '/S'
    $LCID = (Get-UICulture).LCID
    $url_version_dot= '5.40'
    $url_version = (Split-Path $url_version_dot -leaf).ToString().Replace(".", "")
    $validExitCodes = @(0)
    
    $arguments = @{}
    $packageParameters = $env:chocolateyPackageParameters
    if ($packageParameters) {
      $match_pattern = "\/(?<option>([a-zA-Z]+))=(?<value>([`"'])?([0-9]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
      $option_name = 'option'
      $value_name = 'value'
      if ($packageParameters -match $match_pattern ){
        $results = $packageParameters | Select-String $match_pattern -AllMatches
        $results.matches | % {
          $arguments.Add(
            $_.Groups[$option_name].Value.Trim(),
            $_.Groups[$value_name].Value.Trim())
        }
      } else {
        throw "REGEX Failure: Package Parameters were found but were invalid"
      }
      if ($arguments.ContainsKey("LCID")) {
        Write-Debug "Override local language settings."
        $LCID = $arguments["LCID"]
      }
      if ($arguments.ContainsKey("English")) {
        Write-Debug "Force install English version"
        $LCID = $null
      }
    } else {
      Write-Debug "No Package Parameters passed in"
    }
    
    #LCID table: https://msdn.microsoft.com/goglobal/bb964664.aspx
    try {
      # 64 bit downloads
      
      ##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")){
        $url64 = $url64+$url_version+'ar.exe'
      }
    
      ##Armenian   1067
      elseif($LCID -eq "1067"){
        $url64 = $url64+$url_version+'am.exe'
      }
    
      ##AAzeri (Cyrillic)   2092
      ##AAzeri (Latin)      1068
      elseif(($LCID -eq "2092") -or ($LCID -eq "1068")){
        $url64 = $url64+$url_version+'az.exe'
      }
    
      ##Belarusian   1059
      elseif($LCID -eq "1059"){
        $url64 = $url64+$url_version+'by.exe'
      }
    
      ##Bulgarian   1026
      elseif($LCID -eq "1026"){
        $url64 = $url64+$url_version+'bg.exe'
      }
    
      ##Catalan   1027
      elseif($LCID -eq "1027"){
        $url64 = $url64+$url_version+'by.exe'
      }
    
      ##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")){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510sc.exe'
      #}
    
      ##Chinese - Taiwan					1028
      elseif($LCID -eq "1028"){
        $url64 = $url64+$url_version+'tc.exe'
      }
    
      ##Croatian				          1050
      ##Croatian (Bosnia/Herzegovina)   4122
      elseif(($LCID -eq "1050") -or ($LCID -eq "4122")){
        $url64 = $url64+$url_version+'cro.exe'
      }
    
      ##Czech   1029
      #elseif($LCID -eq "1029"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510cz.exe'
      #}
    
      ##Danish   1030
      elseif($LCID -eq "1030"){
        $url64 = $url64+$url_version+'dk.exe'
      }
    
      ##Dutch - Netherlands		1043
      ##Dutch - Belgium			2067
      elseif(($LCID -eq "1043") -or ($LCID -eq "2067")){
        $url64 = $url64+$url_version+'nl.exe'
      }
    
      ##Estonian			1061
      elseif($LCID -eq "1061"){
        $url64 = $url64+$url_version+'est.exe'
      }
    
      ##Finnish			1035
      elseif($LCID -eq "1035"){
        $url64 = $url64+$url_version+'fi.exe'
      }
    
      ##French			1036
      elseif($LCID -eq "1036"){
        $url64 = $url64+$url_version+'fr.exe'
      }
    
      ##Galician			1110
      elseif($LCID -eq "1110"){
        $url64 = $url64+$url_version+'gl.exe'
      }
    
      ##Georgian			1079
      #elseif($LCID -eq "1079"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-501ge.exe'
      #}
    
      ##German			1031
      elseif($LCID -eq "1031"){
        $url64 = $url64+$url_version+'d.exe'
      }
    
      ##Greek				1032
      #elseif($LCID -eq "1032"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510el.exe'
      #}
    
      ##Hebrew			1037
      elseif($LCID -eq "1037"){
        $url64 = $url64+$url_version+'he.exe'
      }
    
      ##Hungarian			1038
      elseif($LCID -eq "1038"){
        $url64 = $url64+$url_version+'hu.exe'
      }
    
      ##Indonesian		1057
      elseif($LCID -eq "1057"){
        $url64 = $url64+$url_version+'id.exe'
      }
    
      ##Italian - Italy			1040
      ##Italian - Switzerland		2064
      #elseif(($LCID -eq "1040") -or ($LCID -eq "2064")){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510it.exe'
      #}
    
      ##Japanese		1041
      elseif($LCID -eq "1041"){
        $url64 = $url64+$url_version+'jp.exe'
      }
    
      ##Korean		1042
      elseif($LCID -eq "1042"){
        $url64 = $url64+$url_version+'kr.exe'
      }
    
      ##Lithuanian	1063
      elseif($LCID -eq "1063"){
        $url64 = $url64+$url_version+'lt.exe'
      }
    
      ##Macedonian											0047
      ##Macedonian (Former Yugoslav Republic of Macedonia)	1071
      elseif(($LCID -eq "0047") -or ($LCID -eq "1071")){
        $url64 = $url64+$url_version+'mk.exe'
      }
    
      ##Norwegian (Bokmål)		1044
      ##Norwegian (Nynorsk)		2068
      elseif(($LCID -eq "1044") -or ($LCID -eq "2068")){
        $url64 = $url64+$url_version+'no.exe'
      }
    
      ##Persian		0041
      ##Persian Iran	1065
      elseif(($LCID -eq "0041") -or ($LCID -eq "1065")){
        $url64 = $url64+$url_version+'prs.exe'
      }
    
      ##Polish		1045
      elseif($LCID -eq "1045"){
        $url64 = $url64+$url_version+'pl.exe'
      }
    
      ##Portuguese - Portugal
      ##Portuguese - Portugal 2070  (pt-pt)
      elseif($LCID -eq "2070"){
        $url64 = $url64+$url_version+'pt.exe'
      }
    
      ##Portuguese - Brazil
      ##Portuguese - Brazil  1046   (pt-br)
      elseif($LCID -eq "1046"){
        $url64 = $url64+$url_version+'br.exe'
      }
    
      ##Romanian			1048
      ##Romanian Moldava  2072
      elseif(($LCID -eq "1048") -or ($LCID -eq "2072")){
        $url64 = $url64+$url_version+'ro.exe'
      }
    
      ##Russian (ru-ru)			1049    
      ##Russian-Moldava (ru-mo)	2073
      elseif(($LCID -eq "1049") -or ($LCID -eq "2073")){
        $url64 = $url64+$url_version+'ru.exe'
      }
    
      ##Serbian Cyrillic	3098
      elseif($LCID -eq "3098"){
        $url64 = $url64+$url_version+'srbcyr.exe'
      }
    
      ##Serbian Latin		2074
      elseif($LCID -eq "2074"){
        $url64 = $url64+$url_version+'srblat.exe'
      }
    
      ##Sinhala			1115
      #elseif($LCID -eq "1115"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-501si.exe'
      #}
    
      ##Slovak			1051
      #elseif($LCID -eq "1051"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510sk.exe'
      #}
    
      ##Slovenian			1060
      #elseif($LCID -eq "1060"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510slv.exe'
      #}
    
      ##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")){
        $url64 = $url64+$url_version+'es.exe'
      }
    
      ##Swedish					1053
      ##Swedish - Finland			2077
      elseif(($LCID -eq "1053") -or ($LCID -eq "2077")){
        $url64 = $url64+$url_version+'sw.exe'
      }
    
      ##Thai						1054
      #elseif($LCID -eq "1054"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510th.exe'
      #}
    
      ##Turkish					1055
      #elseif($LCID -eq "1055"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-510tr.exe'
      #}
    
      ##Turkmen					1090
      #elseif($LCID -eq "1090"){
        #$url64 = 'http://www.rarlab.com/rar/winrar-x64-500tkm.exe'
      #}
    
      ##Ukrainian					1058
      elseif($LCID -eq "1058"){
        $url64 = $url64+$url_version+'ukr.exe'
      }
    
      ##Uzbek (Cyrillic)			2115
      ##Uzbek (Latin)				1091
      elseif(($LCID -eq "2115") -or ($LCID -eq "1091")){
        $url64 = $url64+$url_version+'uz.exe'
      }
    
      #Valencian
      #Valencian			2051
      elseif($LCID -eq "2051"){
        $url64 = $url64+$url_version+'va.exe'
      }
    
      ##Vietnamese		1066
      elseif($LCID -eq "1066"){
        $url64 = $url64+$url_version+'vn.exe'
      }
    
      ##English --- all
      else{
        $url64 = $url64+$url_version+'.exe'
    	$checksum64 = 'd73cc6a97c3edde637c7d952ee2e0efc5b09937e5300cb0ecaffda70f4efdef0'
    	$checksumType64 = 'sha256'
      }  
       
    
      # 32 bit downloads
    
      ##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")){
        $url = $url+$url_version+'ar.exe'
      }
    
      ##Armenian   1067
      elseif($LCID -eq "1067"){
        $url = $url+$url_version+'am.exe'
      }
    
      ##AAzeri (Cyrillic)   2092
      ##AAzeri (Latin)      1068
      elseif(($LCID -eq "2092") -or ($LCID -eq "1068")){
        $url = $url+$url_version+'az.exe'
      }
    
      ##Belarusian   1059
      elseif($LCID -eq "1059"){
        $url = $url+$url_version+'by.exe'
      }
    
      ##Bulgarian   1026
      elseif($LCID -eq "1026"){
        $url = $url+$url_version+'bg.exe'
      }
    
      ##Catalan   1027
      elseif($LCID -eq "1027"){
        $url = $url+$url_version+'by.exe'
      }
    
      ##Chinese Simplified
      ##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")){
        #$url = 'http://www.rarlab.com/rar/wrar510sc.exe'
      #}
    
      ##Chinese Traditional
      ##Chinese - Taiwan					1028
      elseif($LCID -eq "1028"){
        $url = $url+$url_version+'tc.exe'
      }
    
      ##Croatian				          1050
      ##Croatian (Bosnia/Herzegovina)   4122
      elseif(($LCID -eq "1050") -or ($LCID -eq "4122")){
        $url = $url+$url_version+'cro.exe'
      }
    
      ##Czech   1029
      #elseif($LCID -eq "1029"){
        #$url = 'http://www.rarlab.com/rar/wrar510cz.exe'
      #}
    
      ##Danish   1030
      elseif($LCID -eq "1030"){
        $url = $url+$url_version+'dk.exe'
      }
    
      ##Dutch - Netherlands		1043
      ##Dutch - Belgium			2067
      elseif(($LCID -eq "1043") -or ($LCID -eq "2067")){
        $url = $url+$url_version+'nl.exe'
      }
    
      ##Estonian			1061
      elseif($LCID -eq "1061"){
        $url = $url+$url_version+'est.exe'
      }
    
      ##Finnish			1035
      elseif($LCID -eq "1035"){
        $url = $url+$url_version+'fi.exe'
      }
    
      ##French			1036
      elseif($LCID -eq "1036"){
        $url = $url+$url_version+'fr.exe'
      }
    
      ##Galician			1110
      elseif($LCID -eq "1110"){
        $url = $url+$url_version+'gl.exe'
      }
    
      ##Georgian			1079
      #elseif($LCID -eq "1079"){
        #$url = 'http://www.rarlab.com/rar/wrar501ge.exe'
      #}
    
      ##German			1031
      elseif($LCID -eq "1031"){
        $url = $url+$url_version+'d.exe'
      }
    
      ##Greek				1032
      #elseif($LCID -eq "1032"){
        #$url = 'http://www.rarlab.com/rar/wrar510el.exe'
      #}
    
      ##Hebrew			1037
      elseif($LCID -eq "1037"){
        $url = $url+$url_version+'he.exe'
      }
    
      ##Hungarian			1038
      elseif($LCID -eq "1038"){
        $url = $url+$url_version+'hu.exe'
      }
    
      ##Indonesian		1057
      elseif($LCID -eq "1057"){
        $url = $url+$url_version+'id.exe'
      }
    
      ##Italian - Italy			1040
      ##Italian - Switzerland		2064
      #elseif(($LCID -eq "1040") -or ($LCID -eq "2064")){
        #$url = 'http://www.rarlab.com/rar/wrar510it.exe'
      #}
    
      ##Japanese		1041
      elseif($LCID -eq "1041"){
        $url = $url+$url_version+'j.exe'
      }
    
      ##Korean		1042
      elseif($LCID -eq "1042"){
        $url = $url+$url_version+'kr.exe'
      }
    
      ##Lithuanian	1063
      elseif($LCID -eq "1063"){
        $url = $url+$url_version+'lt.exe'
      }
    
      ##Macedonian											0047
      ##Macedonian (Former Yugoslav Republic of Macedonia)	1071
      elseif(($LCID -eq "0047") -or ($LCID -eq "1071")){
        $url = $url+$url_version+'mk.exe'
      }
    
      ##Norwegian (Bokmål)		1044
      ##Norwegian (Nynorsk)		2068
      elseif(($LCID -eq "1044") -or ($LCID -eq "2068")){
        $url = $url+$url_version+'no.exe'
      }
    
      ##Persian		0041
      ##Persian Iran	1065
      elseif(($LCID -eq "0041") -or ($LCID -eq "1065")){
        $url = $url+$url_version+'prs.exe'
      }
    
      ##Polish		1045
      elseif($LCID -eq "1045"){
        $url = $url+$url_version+'pl.exe'
      }
    
      ##Portuguese - Portugal
      ##Portuguese - Portugal 2070  (pt-pt)
      elseif($LCID -eq "2070"){
        $url = $url+$url_version+'pt.exe'
      }
    
      ##Portuguese - Brazil
      ##Portuguese - Brazil  1046   (pt-br)
      elseif($LCID -eq "1046"){
        $url = $url+$url_version+'br.exe'
      }
    
      ##Romanian			1048
      ##Romanian Moldava  2072
      elseif(($LCID -eq "1048") -or ($LCID -eq "2072")){
        $url = $url+$url_version+'ro.exe'
      }
    
      ##Russian (ru-ru)			1049    
      ##Russian-Moldava (ru-mo)	2073
      elseif(($LCID -eq "1049") -or ($LCID -eq "2073")){
        $url = $url+$url_version+'ru.exe'
      }
    
      ##Serbian Cyrillic	3098
      elseif($LCID -eq "3098"){
        $url = $url+$url_version+'srbcyr.exe'
      }
    
      ##Serbian Latin		2074
      elseif($LCID -eq "2074"){
        $url = $url+$url_version+'srblat.exe'
      }
    
      ##Sinhala			1115
      #elseif($LCID -eq "1115"){
        #$url = 'http://www.rarlab.com/rar/wrar501si.exe'
      #}
    
      ##Slovak			1051
      #elseif($LCID -eq "1051"){
        #$url = 'http://www.rarlab.com/rar/wrar510sk.exe'
      #}
    
      ##Slovenian		
      ##Slovenian			1060
      #elseif($LCID -eq "1060"){
        #$url = 'http://www.rarlab.com/rar/wrar510slv.exe'
      #}
    
      ##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")){
        $url = $url+$url_version+'es.exe'
      }
    
      ##Swedish					1053
      ##Swedish - Finland			2077
      elseif(($LCID -eq "1053") -or ($LCID -eq "2077")){
        $url = $url+$url_version+'sw.exe'
      }
    
      ##Thai						1054
      #elseif($LCID -eq "1054"){
        #$url = 'http://www.rarlab.com/rar/wrar510th.exe'
      #}
    
      ##Turkish					1055
      #elseif($LCID -eq "1055"){
        #$url = 'http://www.rarlab.com/rar/wrar510tr.exe'
      #}
    
      ##Turkmen					1090
      #elseif($LCID -eq "1090"){
        #$url = 'http://www.rarlab.com/rar/wrar500tkm.exe'
      #}
    
      ##Ukrainian					1058
      elseif($LCID -eq "1058"){
        $url = $url+$url_version+'ukr.exe'
      }
    
      ##Uzbek (Cyrillic)			2115
      ##Uzbek (Latin)				1091
      elseif(($LCID -eq "2115") -or ($LCID -eq "1091")){
        $url = $url+$url_version+'uz.exe'
      }
    
      #Valencian
      #Valencian			2051
      elseif($LCID -eq "2051"){
        $url = $url+$url_version+'va.exe'
      }
    
      ##Vietnamese		1066
      elseif($LCID -eq "1066"){
        $url = $url+$url_version+'vn.exe'
      }
    
      ##English --- all
      else{
        $url = $url+$url_version+'.exe'
    	$checksum = 'ea70bdaf4336db36f564562dc58daf41816f86eeeb904c22b375431932c3faf8'
    	$checksumType = 'sha256'
      } 
    
      Install-ChocolateyPackage -PackageName "$packageName" `
                                -FileType "$installerType" `
                                -SilentArgs "$silentArgs" `
                                -Url "$url" `
                                -Url64bit "$url64" `
                                -ValidExitCodes $validExitCodes `
                                -Checksum "$checksum" `
                                -ChecksumType "$checksumType" `
                                -Checksum64 "$checksum64" `
                                -ChecksumType64 "$checksumType64"
    } catch {
    	throw 
    }
    
  • tools\chocolateyUninstall.ps1 Show
    $packageName = 'winrar'
    $packageSearch = "$packageName *"
    $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}

Virus Scan Results

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

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • win.rar GmbH

Copyright

© 2002 Alexander Roshal

Tags

Release Notes

Program

Package

  • Automatically built and uploaded by dtgm
  • Checksums are only supported for the English installer

Version History

Version Downloads Last updated Status
WinRAR 5.40.0.20161221 253075 Wednesday, December 21, 2016 approved
WinRAR 5.40 2417019 Wednesday, August 17, 2016 approved
WinRAR 5.31 10957 Friday, February 5, 2016 approved
WinRAR 5.30.0.20151214 4199 Tuesday, December 15, 2015 approved
WinRAR 5.30 2552 Sunday, December 6, 2015 approved
WinRAR 5.21 982 Saturday, November 7, 2015 approved
WinRAR 5.20.1 16833 Sunday, December 21, 2014 approved
WinRAR 5.20 11449 Wednesday, December 10, 2014 approved
WinRAR 5.11 3728 Wednesday, September 3, 2014 approved
Show More

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