Added Chocolatey Uninstall
This commit is contained in:
@@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
appveyor.yml = appveyor.yml
|
||||
chocolatey.png = chocolatey.png
|
||||
chocolateyInstall.ps1.template = chocolateyInstall.ps1.template
|
||||
chocolateyUninstall.ps1.template = chocolateyUninstall.ps1.template
|
||||
LICENSE.txt = LICENSE.txt
|
||||
README.md = README.md
|
||||
timberwinr.nuspec.template = timberwinr.nuspec.template
|
||||
|
||||
8
chocolateyUninstall.ps1.template
Normal file
8
chocolateyUninstall.ps1.template
Normal file
@@ -0,0 +1,8 @@
|
||||
$packageName = 'TimberWinR' # 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 = '/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user