try escaping quotes instead of using backticks

This commit is contained in:
ConfiG 2024-06-25 14:43:20 +03:00
parent 78acebc9c0
commit 8a93a4b864
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -503,7 +503,7 @@ Function .onInit
!delfile "${TMPINST}"
; create and run the installer that just uses WriteUninstaller
!makensis '-DGENERATE_UNINSTALLER "${__FILE__}" "-XOutFile `${TMPINST}.exe`"'
!makensis "-DGENERATE_UNINSTALLER $\"${__FILE__}$\" $\"-XOutFile '${TMPINST}.exe'$\""
!system '"${TMPINST}.exe" /S'
!delfile "${TMPINST}.exe"
!endif