Uninstalling LU from the setup

This commit is contained in:
Useful Stuffs 2025-03-28 17:43:22 +01:00 committed by GitHub
parent 775a3e07d1
commit c538d64620
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -686,7 +686,13 @@ Function .onInit
SetErrorLevel 1
Quit
${EndIf}
${If} ${FileExists} "$OUTDIR\Uninstall.exe"
IfSilent +3
Exec '"$OUTDIR\Uninstall.exe"'
Quit
Exec '"$OUTDIR\Uninstall.exe" /S'
Quit
${EndIf}
SetOutPath $PLUGINSDIR
File Patches.ini