nsis installer: Suppress "ANSI targets are deprecated" warning

When we build our Windows installer, it emits the warning:

   warning 7998: ANSI targets are deprecated

Fix this by making our installer a Unicode installer instead.  These
won't work on Win95/98/ME, but we already do not support those.

See
https://nsis.sourceforge.io/Docs/Chapter4.html#aunicodetarget
for the documentation of the Unicode directive.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 20220305105743.2384766-3-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2022-03-05 10:57:42 +00:00
parent e422d92a23
commit 6b98e86e87

View File

@ -35,6 +35,9 @@
!define OUTFILE "qemu-setup.exe" !define OUTFILE "qemu-setup.exe"
!endif !endif
; Build a unicode installer
Unicode true
; Use maximum compression. ; Use maximum compression.
SetCompressor /SOLID lzma SetCompressor /SOLID lzma