From 4bb2e8277f97f6720ea62d8fd34e9b2c61a74ebb Mon Sep 17 00:00:00 2001 From: dtgm Date: Mon, 14 Dec 2015 22:52:27 -0700 Subject: [PATCH] FIX: https://github.com/dtgm/chocolatey-packages/issues/68 --- automatic/winrar/tools/chocolateyInstall.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automatic/winrar/tools/chocolateyInstall.ps1 b/automatic/winrar/tools/chocolateyInstall.ps1 index 2947422118..8c0dc03550 100644 --- a/automatic/winrar/tools/chocolateyInstall.ps1 +++ b/automatic/winrar/tools/chocolateyInstall.ps1 @@ -3,7 +3,7 @@ $installerType = 'exe' $url = 'http://www.rarlab.com/rar/wrar' $url64 = 'http://www.rarlab.com/rar/winrar-x64-' $silentArgs = '/S' -$LCID = (Get-Culture).LCID +$LCID = (Get-UICulture).LCID $url_version_dot= '{{PackageVersion}}' $url_version = (Split-Path $url_version_dot -leaf).ToString().Replace(".", "") $validExitCodes = @(0)