diff --git a/choco/doxide.install/tools/chocolateyinstall.ps1 b/choco/doxide.install/tools/chocolateyInstall.ps1 similarity index 92% rename from choco/doxide.install/tools/chocolateyinstall.ps1 rename to choco/doxide.install/tools/chocolateyInstall.ps1 index c10fe35..075e527 100644 --- a/choco/doxide.install/tools/chocolateyinstall.ps1 +++ b/choco/doxide.install/tools/chocolateyInstall.ps1 @@ -1,4 +1,4 @@ -$ErrorActionPreference = 'Stop' +$ErrorActionPreference = 'Stop' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $packageArgs = @{ diff --git a/choco/doxide.install/tools/chocolateyUninstall.ps1 b/choco/doxide.install/tools/chocolateyUninstall.ps1 new file mode 100644 index 0000000..aeb8f1c --- /dev/null +++ b/choco/doxide.install/tools/chocolateyUninstall.ps1 @@ -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 diff --git a/choco/doxide.portable/tools/chocolateyinstall.ps1 b/choco/doxide.portable/tools/chocolateyInstall.ps1 similarity index 91% rename from choco/doxide.portable/tools/chocolateyinstall.ps1 rename to choco/doxide.portable/tools/chocolateyInstall.ps1 index 7b76ef9..8bee446 100644 --- a/choco/doxide.portable/tools/chocolateyinstall.ps1 +++ b/choco/doxide.portable/tools/chocolateyInstall.ps1 @@ -1,4 +1,4 @@ -$ErrorActionPreference = 'Stop' +$ErrorActionPreference = 'Stop' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $packageArgs = @{