Skip to content

Instantly share code, notes, and snippets.

@ferventcoder
Created November 17, 2014 14:46
Show Gist options
  • Save ferventcoder/abd81d17eba6ef6d5d47 to your computer and use it in GitHub Desktop.
Save ferventcoder/abd81d17eba6ef6d5d47 to your computer and use it in GitHub Desktop.
Velocity Package
$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
@ferventcoder
Copy link
Author

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? ;))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment