diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2017-04-06 22:33:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2017-04-06 22:33:04 -0700 |
commit | 69c10c96925b268470b960737bc8e8c9cb2d7da6 (patch) | |
tree | 025067c66e9415c15536731f6094079aba0311de /nsis/nasm.nsi | |
parent | 3d823faeead22e03d38930dcf59e64c183412268 (diff) | |
download | nasm-69c10c96925b268470b960737bc8e8c9cb2d7da6.tar.gz |
nsis: show a warning message if we are not privileged
Apparently with newer versions of Windows, a program cannot
be forced-run as administrator without being signed. Instead,
if we aren't administrator, show a message box rather than confusing
the user.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'nsis/nasm.nsi')
-rw-r--r-- | nsis/nasm.nsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nsis/nasm.nsi b/nsis/nasm.nsi index 3d790435..cf128bea 100644 --- a/nsis/nasm.nsi +++ b/nsis/nasm.nsi @@ -38,6 +38,10 @@ SetCompressor lzma +!if "${NSIS_PACKEDVERSION}" >= 0x3000000 +Unicode true +!endif + !define MULTIUSER_EXECUTIONLEVEL Highest !define MULTIUSER_MUI !define MULTIUSER_INSTALLMODE_COMMANDLINE |