Fixed reported bug when reading invalid configuration files, error was not reported.

This commit is contained in:
Eric Fontana
2014-12-16 08:21:46 -05:00
parent 20c16a1ec3
commit 5f7b96206e
2 changed files with 40 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
$installerType = 'msi' #only one of these: exe, msi, msu
$url = 'http://www.ericfontana.com/TimberWinR/TimberWinR-${version}.0.msi' # download url
$silentArgs = '${PROJECTGUID} /quiet'
$silentArgs = '{B5302886-44E2-4ED4-A383-6AFA3B53BF18} /quiet'
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes