Hvordan slette [Deprecated] Chocolatey Uninstall Extension

NOTE: This package has been deprecated, in favour of the chocolatey-core.extension.

This package provides helper functions installed as a Chocolatey extension. These functions may be used in Chocolatey install/uninstall scripts by declaring this package a dependency in your package's nuspec.

<dependencies>   <dependency id="chocolatey-uninstall.extension" /> </dependencies>

Functions

Get-UninstallRegistryKey -- retrieve registry keys for use during uninstall of Chocolatey packages

  1. To use, add the following to chocolateyUninstall.ps1, setting $softwareName to the name as seen in Control Panel's "Programs and Features"

$softwareName = "Example Name" [array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

  1. The found registry key's properties are accessible by dot notation. For example, $key.UninstallString
Antall nedlastinger: 149 705
Størrelse: 4.26 kB
Oppdatert: 28.01.2019
Distribusjonsordning: gratis programvare
Operativsystemer: Windows 7 x64, Windows 8 x64,
Windows 8.1 x64, Windows 10 x64, Windows 11 x64