Commit e6ee9f1a authored by Mircea Bardac's avatar Mircea Bardac

remove support for building language testing builds


git-svn-id: svn+ssh://svn.psi-im.org/home/psi/svn/win-installer/trunk@19 2d3a5ac0-73f9-4639-b284-2310bd1da355
parent d94cddce
...@@ -33,15 +33,6 @@ ...@@ -33,15 +33,6 @@
;!define BUILD_WITH_LANGPACKS ;!define BUILD_WITH_LANGPACKS
; ^ comment if you want to build the installer without language packs ; ^ comment if you want to build the installer without language packs
;!define LANG_TEST_BUILD
; ^ uncomment if you want to build a test installer
!ifdef LANG_TEST_BUILD
!ifndef BUILD_WITH_LANGPACKS
!define BUILD_WITH_LANGPACKS
!endif
!endif
; Application name ; Application name
!define APPNAME "Psi" !define APPNAME "Psi"
!define APPVERSION "0.10" !define APPVERSION "0.10"
...@@ -62,17 +53,12 @@ VIAddVersionKey FileDescription "${APPNAMEANDVERSION} Installer (build ${INSTALL ...@@ -62,17 +53,12 @@ VIAddVersionKey FileDescription "${APPNAMEANDVERSION} Installer (build ${INSTALL
VIAddVersionKey FileVersion "${INSTALLER_VERSION}b${INSTALLER_BUILD}" VIAddVersionKey FileVersion "${INSTALLER_VERSION}b${INSTALLER_BUILD}"
VIAddVersionKey InternalName "${APPNAMEANDVERSION} Installer (build ${INSTALLER_BUILD}) - Win32 Installer v${INSTALLER_VERSION}" VIAddVersionKey InternalName "${APPNAMEANDVERSION} Installer (build ${INSTALLER_BUILD}) - Win32 Installer v${INSTALLER_VERSION}"
VIAddVersionKey LegalTrademarks "" VIAddVersionKey LegalTrademarks ""
!ifdef LANG_TEST_BUILD !ifdef BUILD_WITH_LANGPACKS
VIAddVersionKey OriginalFilename "${LCAPPNAME}-${APPFULLVERSION}-win-langtest.exe"
VIAddVersionKey PrivateBuild "Language Packs Included: all available"
!else
!ifdef BUILD_WITH_LANGPACKS
VIAddVersionKey OriginalFilename "${LCAPPNAME}-${APPFULLVERSION}-win-setup-i18n.exe" VIAddVersionKey OriginalFilename "${LCAPPNAME}-${APPFULLVERSION}-win-setup-i18n.exe"
VIAddVersionKey PrivateBuild "Language Packs Included: yes" VIAddVersionKey PrivateBuild "Language Packs Included: yes"
!else !else
VIAddVersionKey OriginalFilename "${LCAPPNAME}-${APPFULLVERSION}-win-setup.exe" VIAddVersionKey OriginalFilename "${LCAPPNAME}-${APPFULLVERSION}-win-setup.exe"
VIAddVersionKey PrivateBuild "Language Packs Included: none" VIAddVersionKey PrivateBuild "Language Packs Included: none"
!endif
!endif !endif
VIAddVersionKey SpecialBuild "Build number: ${INSTALLER_BUILD}" VIAddVersionKey SpecialBuild "Build number: ${INSTALLER_BUILD}"
VIProductVersion "${APPVERSION}.0.${INSTALLER_BUILD}" VIProductVersion "${APPVERSION}.0.${INSTALLER_BUILD}"
...@@ -118,14 +104,10 @@ BrandingText "- ${APPNAMEANDVERSION} installer - build ${INSTALLER_BUILD} / Inst ...@@ -118,14 +104,10 @@ BrandingText "- ${APPNAMEANDVERSION} installer - build ${INSTALLER_BUILD} / Inst
Name "${APPNAMEANDVERSION}" Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\Psi" InstallDir "$PROGRAMFILES\Psi"
!ifdef LANG_TEST_BUILD !ifdef BUILD_WITH_LANGPACKS
OutFile "${LCAPPNAME}-${APPFULLVERSION}-win-langtest.exe"
!else
!ifdef BUILD_WITH_LANGPACKS
OutFile "${LCAPPNAME}-${APPFULLVERSION}-win-setup-i18n.exe" OutFile "${LCAPPNAME}-${APPFULLVERSION}-win-setup-i18n.exe"
!else !else
OutFile "${LCAPPNAME}-${APPFULLVERSION}-win-setup.exe" OutFile "${LCAPPNAME}-${APPFULLVERSION}-win-setup.exe"
!endif
!endif !endif
InstallDirRegKey HKLM "Software\Affinix\${APPNAME}" "" InstallDirRegKey HKLM "Software\Affinix\${APPNAME}" ""
...@@ -200,14 +182,10 @@ WriteINIStr "$INSTDIR\${URLFile}.url" "InternetShortcut" "URL" "${URLSite}" ...@@ -200,14 +182,10 @@ WriteINIStr "$INSTDIR\${URLFile}.url" "InternetShortcut" "URL" "${URLSite}"
Section "!$LSTR_PSIBASE" SectionBase Section "!$LSTR_PSIBASE" SectionBase
; Set Section properties ; Set Section properties
SetOverwrite on SetOverwrite on
SectionIn RO SectionIn RO
; Set Section Files and Shortcuts
!ifndef LANG_TEST_BUILD ; Set Section Files and Shortcuts
!include "${APP_BUILD}psi_files_install.nsh" !include "${APP_BUILD}psi_files_install.nsh"
!else
SetOutPath "$INSTDIR\"
File "${APP_SOURCE}\COPYING" ;install only one file when LANG_TEST_BUILD
!endif
SetOutPath "$INSTDIR\" SetOutPath "$INSTDIR\"
!insertmacro "CreateURL" "Psi - Home page" "http://psi.affinix.com/" !insertmacro "CreateURL" "Psi - Home page" "http://psi.affinix.com/"
!insertmacro "CreateURL" "Psi - Forum" "http://psi.affinix.com/forums/" !insertmacro "CreateURL" "Psi - Forum" "http://psi.affinix.com/forums/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment