More info

pull/250/head
KnifMelti 2022-12-20 03:19:46 +01:00
parent 9d9945d057
commit 6e4b5ec094
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,7 @@
Pre/During/Post install/uninstall custom scripts should be placed here. 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**`-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

View File

@ -2,10 +2,10 @@
#Beginning of Process Name to Stop - optional wildcard (*) after, without .exe, multiple: "proc1","proc2" #Beginning of Process Name to Stop - optional wildcard (*) after, without .exe, multiple: "proc1","proc2"
$Proc = @("") $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 = @("") $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 = "" $App = ""
#Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2" #Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2"