Commit d94cddce authored by Mircea Bardac's avatar Mircea Bardac

all included files have .nsh as extension


git-svn-id: svn+ssh://svn.psi-im.org/home/psi/svn/win-installer/trunk@18 2d3a5ac0-73f9-4639-b284-2310bd1da355
parent 6c8ba4e3
...@@ -203,7 +203,7 @@ Section "!$LSTR_PSIBASE" SectionBase ...@@ -203,7 +203,7 @@ Section "!$LSTR_PSIBASE" SectionBase
SectionIn RO SectionIn RO
; Set Section Files and Shortcuts ; Set Section Files and Shortcuts
!ifndef LANG_TEST_BUILD !ifndef LANG_TEST_BUILD
!include "${APP_BUILD}psi_files_install.nsi" !include "${APP_BUILD}psi_files_install.nsh"
!else !else
SetOutPath "$INSTDIR\" SetOutPath "$INSTDIR\"
File "${APP_SOURCE}\COPYING" ;install only one file when LANG_TEST_BUILD File "${APP_SOURCE}\COPYING" ;install only one file when LANG_TEST_BUILD
...@@ -219,7 +219,7 @@ SectionEnd ...@@ -219,7 +219,7 @@ SectionEnd
!ifdef BUILD_WITH_LANGPACKS !ifdef BUILD_WITH_LANGPACKS
SubSection "$LSTR_LANGUAGES" SectionLang SubSection "$LSTR_LANGUAGES" SectionLang
!include "${APP_BUILD}psi_lang_install.inc" !include "${APP_BUILD}psi_lang_install.nsh"
; See ReadME.txt for more information ; See ReadME.txt for more information
SubSectionEnd SubSectionEnd
!endif !endif
...@@ -338,7 +338,7 @@ Function .onInit ...@@ -338,7 +338,7 @@ Function .onInit
!ifdef BUILD_WITH_LANGPACKS !ifdef BUILD_WITH_LANGPACKS
; automatically choose language pack to install ; automatically choose language pack to install
!include "${APP_BUILD}psi_lang_setup.inc" !include "${APP_BUILD}psi_lang_setup.nsh"
; See ReadME.txt for more information ; See ReadME.txt for more information
; **************** ; ****************
!endif !endif
...@@ -480,12 +480,12 @@ Section Uninstall ...@@ -480,12 +480,12 @@ Section Uninstall
!ifdef BUILD_WITH_LANGPACKS !ifdef BUILD_WITH_LANGPACKS
; Delete Language files ; Delete Language files
!include "${APP_BUILD}psi_lang_uninstall.inc" !include "${APP_BUILD}psi_lang_uninstall.nsh"
; See ReadME.txt for more information ; See ReadME.txt for more information
!endif !endif
; Clean up Psi (base) ; Clean up Psi (base)
!include "${APP_BUILD}psi_files_uninstall.nsi" !include "${APP_BUILD}psi_files_uninstall.nsh"
SectionEnd SectionEnd
......
...@@ -19,13 +19,13 @@ find $indir -type d > directories.list ...@@ -19,13 +19,13 @@ find $indir -type d > directories.list
[ ! -d ../build ] && mkdir ../build [ ! -d ../build ] && mkdir ../build
out_inst="psi_files_install.nsi" out_inst="psi_files_install.nsh"
echo ";" > $out_inst echo ";" > $out_inst
echo "; List of files to be INSTALLED (Base section)" >> $out_inst echo "; List of files to be INSTALLED (Base section)" >> $out_inst
echo ";" >> $out_inst echo ";" >> $out_inst
echo >> $out_inst echo >> $out_inst
out_uninst="psi_files_uninstall.nsi" out_uninst="psi_files_uninstall.nsh"
echo ";" > $out_uninst echo ";" > $out_uninst
echo "; List of files to be UNINSTALLED (Base section)" >> $out_uninst echo "; List of files to be UNINSTALLED (Base section)" >> $out_uninst
echo ";" >> $out_uninst echo ";" >> $out_uninst
......
...@@ -21,9 +21,9 @@ if not os.path.exists("../build/psi_lang"): ...@@ -21,9 +21,9 @@ if not os.path.exists("../build/psi_lang"):
fmap=open("psi_lang.map") fmap=open("psi_lang.map")
flanginst=open("../build/psi_lang_install.inc","w") flanginst=open("../build/psi_lang_install.nsh","w")
flangsetup=open("../build/psi_lang_setup.inc","w") flangsetup=open("../build/psi_lang_setup.nsh","w")
flanguninst=open("../build/psi_lang_uninstall.inc","w") flanguninst=open("../build/psi_lang_uninstall.nsh","w")
langmap={} langmap={}
for s in fmap.readlines(): for s in fmap.readlines():
......
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