Skip to content

Commit

Permalink
Added uninstall script for doxide.install to ensure silent uninstall.
Browse files Browse the repository at this point in the history
  • Loading branch information
lawmurray committed Jun 20, 2024
1 parent 4386796 commit 0bb632c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$ErrorActionPreference = 'Stop'
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
Expand Down
11 changes: 11 additions & 0 deletions choco/doxide.install/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$ErrorActionPreference = 'Stop'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'doxide.install'
fileType = 'EXE'
silentArgs = '/S'
file = 'C:\Program Files\Doxide\Uninstall.exe'
}

Uninstall-ChocolateyPackage @packageArgs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$ErrorActionPreference = 'Stop'
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
Expand Down

0 comments on commit 0bb632c

Please sign in to comment.