# http://nsis.sourceforge.net/Docs/Modern%20UI%202/Readme.html
#
+# Fix warning 7998: ANSI targets are deprecated
+Unicode True
+
# Include the "Modern UI" header, which gives us the usual Windows look-n-feel.
!include "MUI2.nsh"
OutFile "pulseview-@PV_VERSION_STRING@-installer.exe"
# Where to install the application.
-InstallDir "$PROGRAMFILES\sigrok\PulseView"
+!ifdef PE64
+ InstallDir "$PROGRAMFILES64\sigrok\PulseView"
+!else
+ InstallDir "$PROGRAMFILES\sigrok\PulseView"
+!endif
# Request admin privileges for Windows Vista and Windows 7.
# http://nsis.sourceforge.net/Docs/Chapter4.html