diff --git a/.travis.yml b/.travis.yml index d3536bc61f..2676361602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: csharp +mono: + - 3.12.0 install: - sudo apt-get install mono-devel mono-gmcs - nuget restore src/chocolatey.sln diff --git a/src/chocolatey/infrastructure.app/templates/ChocolateyUninstallTemplate.cs b/src/chocolatey/infrastructure.app/templates/ChocolateyUninstallTemplate.cs index 7693f633d3..620b87fa44 100644 --- a/src/chocolatey/infrastructure.app/templates/ChocolateyUninstallTemplate.cs +++ b/src/chocolatey/infrastructure.app/templates/ChocolateyUninstallTemplate.cs @@ -41,6 +41,9 @@ public class ChocolateyUninstallTemplate } $uninstalled = $false +$local_key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' +$machine_key = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' +$machine_key6432 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*' Get-ItemProperty -Path @($machine_key6432,$machine_key, $local_key) ` -ErrorAction SilentlyContinue `