diff --git a/installer/chocolatey/tools/chocolateyUninstall.ps1 b/installer/chocolatey/tools/chocolateyUninstall.ps1 new file mode 100644 index 00000000..1b99b8b4 --- /dev/null +++ b/installer/chocolatey/tools/chocolateyUninstall.ps1 @@ -0,0 +1,9 @@ +$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'FileBot'" +echo $app + +if ($app -eq $null) { + echo 'FileBot is not installed.' +} else { + $app.Uninstall() + echo 'FileBot has been uninstalled.' +}