OpenSSL.Light for Win32 1.0.1c
This commit is contained in:
24
OpenSSL.Light/tools/chocolateyInstall.ps1
Normal file
24
OpenSSL.Light/tools/chocolateyInstall.ps1
Normal 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
|
||||
}
|
Reference in New Issue
Block a user