mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-12 09:40:45 +01:00
10 lines
608 B
PowerShell
10 lines
608 B
PowerShell
# This runs in 0.9.10+ before upgrade and uninstall.
|
|
# Use this file to do things like stop services prior to upgrade or uninstall.
|
|
# NOTE: It is an anti-pattern to call chocolateyUninstall.ps1 from here. If you
|
|
# need to uninstall an MSI prior to upgrade, put the functionality in this
|
|
# file without calling the uninstall script. Make it idempotent in the
|
|
# uninstall script so that it doesn't fail when it is already uninstalled.
|
|
# NOTE: For upgrades - like the uninstall script, this script always runs from
|
|
# the currently installed version, not from the new upgraded package version.
|
|
|