chore: add check and install for dotnet8 on preinstall

This commit is contained in:
2025-08-05 07:24:46 +02:00
parent a64655ec5d
commit eb1ef06c07
3 changed files with 350 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
!incluide "dotnet.nsh"
!macro NSIS_HOOK_PREINSTALL
!insertmacro CheckDotNetCore 8.0
!macroend
!macro NSIS_HOOK_POSTINSTALL
${If} $PassiveMode = 1
${OrIf} ${Silent}
Exec '"$INSTDIR\${MAINBINARYNAME}.exe"'
${EndIf}
!macroend