MultiUser now supports $ProgramFiles64 (Bug #843)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6824 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2016-12-26 23:01:41 +00:00
parent 28e6462b4e
commit 75cf6b20ef
4 changed files with 24 additions and 2 deletions

View file

@ -91,7 +91,11 @@ Install modes
!if "${UNINSTALLER_PREFIX}" != UN
;Set default installation location for installer
!ifdef MULTIUSER_INSTALLMODE_INSTDIR
StrCpy $INSTDIR "$PROGRAMFILES\${MULTIUSER_INSTALLMODE_INSTDIR}"
!ifdef MULTIUSER_USE_PROGRAMFILES64
StrCpy $INSTDIR "$PROGRAMFILES64\${MULTIUSER_INSTALLMODE_INSTDIR}"
!else
StrCpy $INSTDIR "$PROGRAMFILES\${MULTIUSER_INSTALLMODE_INSTDIR}"
!endif
!endif
!endif