diff options
author | Philipp Hörist <philipp@hoerist.com> | 2018-03-29 00:03:22 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2018-03-30 14:59:41 +0300 |
commit | 2ff96ad7936c16ebed49c397c517edbda528f2d8 (patch) | |
tree | e7cca77b5845fc4141240765783b294a75d90cd9 /win/misc | |
parent | ec78ce22e63893c2b41332c252fd61b92e4ac7b6 (diff) |
Provide 64bit installer for Windows
Diffstat (limited to 'win/misc')
-rw-r--r-- | win/misc/gajim-portable.nsi | 2 | ||||
-rw-r--r-- | win/misc/gajim.nsi | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/win/misc/gajim-portable.nsi b/win/misc/gajim-portable.nsi index 8d413b7ba..aa8b48707 100644 --- a/win/misc/gajim-portable.nsi +++ b/win/misc/gajim-portable.nsi @@ -101,7 +101,7 @@ Section "Gajim" SecGajim SectionIn RO SetOutPath "$INSTDIR" - File /r "mingw32\*.*" + File /r "${ARCH}\*.*" SetOutPath "$INSTDIR\bin" CreateShortCut "$INSTDIR\Gajim-Portable.lnk" "$INSTDIR\bin\Gajim.exe" \ diff --git a/win/misc/gajim.nsi b/win/misc/gajim.nsi index e9046168b..c123cac23 100644 --- a/win/misc/gajim.nsi +++ b/win/misc/gajim.nsi @@ -146,12 +146,18 @@ LangString STR_Running ${LANG_HEBREW} "נראה שהתוכנית Gajim מורצ Section "Gajim" SecGajim SectionIn RO - + + Var /GLOBAL arch_name + StrCpy $arch_name "(64-Bit)" + StrCmp ${ARCH} "mingw64" cont + StrCpy $arch_name "(32-Bit)" + cont: + SetOutPath "$INSTDIR" - File /r "mingw32\*.*" + File /r "${ARCH}\*.*" WriteRegStr HKCU "Software\Gajim" "" $INSTDIR - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim ${VERSION} $arch_name" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString" "$INSTDIR\Uninstall.exe" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayIcon" "$INSTDIR\bin\Gajim.exe" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "${VERSION}" |