diff options
author | Sebastien Blaisot <sebastien@blaisot.org> | 2017-01-18 20:23:28 +0100 |
---|---|---|
committer | Sebastien Blaisot <sebastien@blaisot.org> | 2017-01-18 20:23:28 +0100 |
commit | c54eed0330888e60aa6003269f6f97b3fe0600bf (patch) | |
tree | 4a908f3f134f220284c942fb66552ded89d48465 /build/appveyor | |
parent | 5f1a20c557c0d609e231f86adf907fde213b23e3 (diff) |
Add NSIS patching to appveyor install section
Diffstat (limited to 'build/appveyor')
-rw-r--r-- | build/appveyor/NSIS.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build/appveyor/NSIS.patch b/build/appveyor/NSIS.patch new file mode 100644 index 0000000000..511902ecd5 --- /dev/null +++ b/build/appveyor/NSIS.patch @@ -0,0 +1,27 @@ +--- C:/Programme/NSIS/Include/MultiUser.nsh So Feb 1 15:44:30 2009 ++++ C:/Programme/NSIS/Include/Kopie von MultiUser.nsh Do Apr 30 15:34:13 2009 +@@ -91,7 +91,11 @@ +!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 + +@@ -129,7 +133,11 @@ +${if} ${AtLeastWin2000} +StrCpy $INSTDIR "$LOCALAPPDATA\${MULTIUSER_INSTALLMODE_INSTDIR}" +${else} ++ !ifdef MULTIUSER_USE_PROGRAMFILES64 ++ StrCpy $INSTDIR "$PROGRAMFILES64\${MULTIUSER_INSTALLMODE_INSTDIR}" ++ !else +StrCpy $INSTDIR "$PROGRAMFILES\${MULTIUSER_INSTALLMODE_INSTDIR}" ++ !endif +${endif} +!endif +!endif |