Skip to content

Commit

Permalink
(GH-982) Note AutoUninstaller in uninstall template
Browse files Browse the repository at this point in the history
Provide guidance at the top of the uninstall template that the
uninstall script may be unnecessary due to AutoUninstaller and licensed
version enhancements.
  • Loading branch information
ferventcoder committed Sep 27, 2016
1 parent 41e6cab commit 991b521
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class ChocolateyUninstallTemplate
# $f='c:\path\to\thisFile.ps1'
# gc $f | ? {$_ -notmatch ""^\s*#""} | % {$_ -replace '(^.*?)\s*?[^``]#.*','$1'} | Out-File $f+"".~"" -en utf8; mv -fo $f+"".~"" $f
## NOTE: In 80-90% of the cases (95% with licensed versions due to Package Synchronizer and other enhancements), you may
## not need this file due to AutoUninstaller. See https://chocolatey.org/docs/commands-uninstall
## If this is an MSI, cleaning up comments is all you need.
## If this is an exe, change installerType and silentArgs
## Auto Uninstaller should be able to detect and handle registry uninstalls (if it is turned on, it is in preview for 0.9.9).
Expand Down

0 comments on commit 991b521

Please sign in to comment.