summary refs log tree commit diff stats
path: root/qemu.nsi
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-03-05 10:57:42 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-03-18 10:55:15 +0000
commit6b98e86e8773dbbcf34275b066e8fd63cb4c2f15 (patch)
tree6284570cb00f93c0abe1e7e65b841d54fdce3f2c /qemu.nsi
parente422d92a23c543e9649feba227eec58a5aaba483 (diff)
downloadfocaccia-qemu-6b98e86e8773dbbcf34275b066e8fd63cb4c2f15.tar.gz
focaccia-qemu-6b98e86e8773dbbcf34275b066e8fd63cb4c2f15.zip
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
Diffstat (limited to 'qemu.nsi')
-rw-r--r--qemu.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu.nsi b/qemu.nsi
index c3df8c9d3b..6edd82b385 100644
--- a/qemu.nsi
+++ b/qemu.nsi
@@ -35,6 +35,9 @@
 !define OUTFILE "qemu-setup.exe"
 !endif
 
+; Build a unicode installer
+Unicode true
+
 ; Use maximum compression.
 SetCompressor /SOLID lzma