Skip to content

Commit

Permalink
(GH-296) add missing variable
Browse files Browse the repository at this point in the history
Add $shouldUninstall with default value of true
  • Loading branch information
ferventcoder committed Jun 1, 2015
1 parent 3bf5ac1 commit 297629d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class ChocolateyUninstallTemplate
# registry uninstaller key name is the key that is found at HKLM:\Software\Windows\CurrentVersion\Uninstall\ THE NAME
$registryUninstallerKeyName = '[[PackageName]]' #ensure this is the value in the registry
$msiProductCodeGuid = '{insert it here}'
$shouldUninstall = $true
$local_key = ""HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName""
# local key 6432 probably never exists
Expand Down

0 comments on commit 297629d

Please sign in to comment.