From 6e4b5ec094b8483bacc6c958f1c7265526dc0e9f Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Tue, 20 Dec 2022 03:19:46 +0100 Subject: [PATCH] More info --- Winget-AutoUpdate/mods/README.md | 5 ++++- Winget-AutoUpdate/mods/_AppID-template.ps1 | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Winget-AutoUpdate/mods/README.md b/Winget-AutoUpdate/mods/README.md index 79d232d..b35d4e9 100644 --- a/Winget-AutoUpdate/mods/README.md +++ b/Winget-AutoUpdate/mods/README.md @@ -1,4 +1,7 @@ Pre/During/Post install/uninstall custom scripts should be placed here. -A script Template and Commom Functions are included to get you started: +A script Template and Commom Functions are included to get you started... +Scripts that are considered: **AppID**`-preinstall.ps1`, `-upgrade.ps1`, `-install.ps1`, `-installed.ps1`, `-preuninstall.ps1`, `-uninstall.ps1` or `-uninstalled.ps1` + +**AppID**`-override.txt` (the content) will be used as a native **winget --override** parameter when upgrading diff --git a/Winget-AutoUpdate/mods/_AppID-template.ps1 b/Winget-AutoUpdate/mods/_AppID-template.ps1 index 342397a..ab42c76 100644 --- a/Winget-AutoUpdate/mods/_AppID-template.ps1 +++ b/Winget-AutoUpdate/mods/_AppID-template.ps1 @@ -2,10 +2,10 @@ #Beginning of Process Name to Stop - optional wildcard (*) after, without .exe, multiple: "proc1","proc2" $Proc = @("") -#Beginning of Process Name to Wait for to end - optional wildcard (*) after, without .exe, multiple: "proc1","proc2" +#Beginning of Process Name to Wait for to End - optional wildcard (*) after, without .exe, multiple: "proc1","proc2" $Wait = @("") -#Beginning of App Name string to Uninstall - required wildcard (*) after! +#Beginning of App Name string to Silently Uninstall (MSI/NSIS/INNO) - required wildcard (*) after! $App = "" #Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2"