Skip to content

Instantly share code, notes, and snippets.

@adabo
Last active June 8, 2016 23:29
Show Gist options
  • Save adabo/69761d629c5e2cc9fe5d9c407e81df4b to your computer and use it in GitHub Desktop.
Save adabo/69761d629c5e2cc9fe5d9c407e81df4b to your computer and use it in GitHub Desktop.
$ErrorActionPreference = 'Stop';
$packageName= 'flstudio12'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = 'i:\Programs\Program Installers\FL Studio\flstudio_12.2.exe'
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'exe'
file = $fileLocation
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment