OpenSSL.Light for Win32 1.0.1c

This commit is contained in:
Iristyle
2012-10-12 13:36:17 -04:00
parent 46ae3872c7
commit 0d1312bcf8
3 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
$package = 'OpenSSL.Light'
try {
#default is to plop in c:\ -- yuck!
$installDir = Join-Path $Env:ProgramFiles 'OpenSSL'
$params = @{
packageName = $package;
fileType = 'exe';
#InnoSetup - http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
silentArgs = '/silent', '/verysilent', '/sp-', '/suppressmsgboxes',
"/DIR=`"$installDir`"";
url = 'http://slproweb.com/download/Win32OpenSSL_Light-1_0_1c.exe'
url64bit = 'http://slproweb.com/download/Win64OpenSSL_Light-1_0_1c.exe'
}
Install-ChocolateyPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}