wingetautoupdate/Winget-AutoUpdate/mods/README.md

14 lines
720 B
Markdown
Raw Normal View History

2022-04-20 04:32:50 +00:00
# Winget-Install
## Mods
2022-04-20 04:35:50 +00:00
The Mod feature allows you to run an additional script when installing, upgrading or uninstalling an app.
Just put the script with the App ID followed by the "-install", "-upgrade" or "-uninstall" suffix to be considered.
`AppID-install.ps1`, `AppID-upgrade.ps1` or `AppID-uninstall.ps1`
2022-04-20 04:32:50 +00:00
and put this in the Mods directory
> Example:
> If you want to run a script just after uninstalling FileZilla, call your script like this:
> `TimKosse.FileZilla.Client-uninstall.ps1`
In the case of FileZilla it spawns a process "Un_A.exe" (NullSoft) as a graphical uninstallation and this we will have to wait for completion of before moving on to checking if the uninstallation suceeded or not.