Created
November 17, 2014 14:46
-
-
Save ferventcoder/abd81d17eba6ef6d5d47 to your computer and use it in GitHub Desktop.
Velocity Package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$packageName = 'velocity' | |
$installerType = 'msi' | |
$packageVersion = '1.0.4' | |
$url = "https://velocity.blob.core.windows.net/downloads/VelocitySetup-$($packageVersion).msi" | |
$silentArgs = '/qn' | |
$checksum = '_YOUR_CHECKSUM_HERE_' | |
$checksumType = 'MD5' | |
$validExitCodes @(0,3010) | |
Install-ChocolateyPackage $packageName $installerType "$silentArgs" "$url" -validExitCodes $validExitCodes -checksum $checksum -checksumType $checksumType |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would need a
velocity.nuspec
as well and then should be tested, but this is the gist of it (see what I did there? ;))