Skip to content

Commit

Permalink
(chocolateyGH-366) Add uninstaller keys back in
Browse files Browse the repository at this point in the history
Accidentally removed a little too much and pulled the keys that will be
used to search against.
  • Loading branch information
ferventcoder committed Jul 27, 2015
1 parent 13b4e08 commit 96f8d4c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 `
Expand Down

0 comments on commit 96f8d4c

Please sign in to comment.