drawio-export/build/package/msi/templates/choco/chocolateyUninstall.ps1

7 lines
241 B
PowerShell
Raw Normal View History

$packageName = "{{.Choco.ID}}";
$fileType = 'msi';
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path);
$fileFullPath = Join-Path $scriptPath '{{.Choco.MsiFile}}';
Uninstall-ChocolateyPackage $packageName $fileType "$fileFullPath /q"