From 9183ec1cbc54a7c79b1c205fab4823fbeb1cba37 Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Wed, 21 Dec 2022 23:56:59 +0100 Subject: [PATCH] Text --- Winget-AutoUpdate/mods/README.md | 2 +- Winget-AutoUpdate/mods/_AppID-template.ps1 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Winget-AutoUpdate/mods/README.md b/Winget-AutoUpdate/mods/README.md index b8cb64e..68f8617 100644 --- a/Winget-AutoUpdate/mods/README.md +++ b/Winget-AutoUpdate/mods/README.md @@ -1,5 +1,5 @@ Pre/During/Post install/uninstall custom scripts should be placed here. -A script Template and Mods Functions are included to get you started... +A script Template and Mods Functions are included an example to get you started... Scripts that are considered: **AppID**`-preinstall.ps1`, `-upgrade.ps1`, `-install.ps1`, `-installed.ps1`, `-preuninstall.ps1`, `-uninstall.ps1` or `-uninstalled.ps1` diff --git a/Winget-AutoUpdate/mods/_AppID-template.ps1 b/Winget-AutoUpdate/mods/_AppID-template.ps1 index 419789b..db1b47d 100644 --- a/Winget-AutoUpdate/mods/_AppID-template.ps1 +++ b/Winget-AutoUpdate/mods/_AppID-template.ps1 @@ -5,7 +5,8 @@ $Proc = @("") #Beginning of Process Name to Wait for to End - optional wildcard (*) after, without .exe, multiple: "proc1","proc2" $Wait = @("") -#Beginning of App Name string to Silently Uninstall (MSI/NSIS/INNO/EXE with defined silent uninstall) - required wildcard (*) after! +#Beginning of App Name string to Silently Uninstall (MSI/NSIS/INNO/EXE with defined silent uninstall in registry) +#Required wildcard (*) after, search is done with "-like"! $App = "" #Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2"