X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi.in;h=1cbd9eb1630741384d80756ab3fe0f51a8b8f9c6;hb=978dbc9a3e3c4bf8b42f00a269d04d0dca62b1a5;hp=d8b9442fe020d038ed95df6b649236a588d9515f;hpb=1d3defec28e1fe67c8aec4d61eaaf6b41ab4d6c4;p=pulseview.git diff --git a/contrib/pulseview_cross.nsi.in b/contrib/pulseview_cross.nsi.in index d8b9442f..1cbd9eb1 100644 --- a/contrib/pulseview_cross.nsi.in +++ b/contrib/pulseview_cross.nsi.in @@ -43,7 +43,11 @@ Name "PulseView" 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