chocolateyuninstall.ps1 385 B

123456789
  1. $ErrorActionPreference = 'Stop';
  2. $installDir = Join-Path (Get-ToolsLocation) 'bluebrick'
  3. $blueBrickExe = Join-Path $installDir 'BlueBrick.exe'
  4. $blueBrickLnk = Join-Path ([System.Environment]::GetFolderPath('CommonPrograms')) 'BlueBrick.lnk'
  5. Uninstall-BinFile -Name BlueBrick -Path $blueBrickExe
  6. Remove-Item -Path $blueBrickLnk -Force
  7. Remove-Item -Path $installDir -Recurse -Force