Towards 1.3.32
[idzebra-moved-to-github.git] / win / zebra.nsi
index 80a8795..91fef0e 100644 (file)
@@ -1,9 +1,12 @@
-; $Id: zebra.nsi,v 1.20.2.2 2004-08-17 06:59:55 adam Exp $
+; $Id: zebra.nsi,v 1.20.2.15 2005-11-08 10:48:45 adam Exp $
 
-!define VERSION "1.3.17"
+!define VERSION "1.3.32"
+!define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
 
 !include "MUI.nsh"
 
+SetCompressor bzip2
+
 Name "Zebra"
 Caption "Index Data Zebra ${VERSION} Setup"
 OutFile "idzebra_${VERSION}.exe"
@@ -67,7 +70,13 @@ Section "Zebra Runtime"
        SectionIn 1 2
        SetOutPath $INSTDIR\bin
        File ..\bin\*.exe
-       File ..\bin\*.dll
+       File ..\bin\iconv.dll
+       File ..\bin\zlib1.dll
+       File ..\bin\libxml2.dll
+       File ..\bin\yaz.dll
+       File ..\bin\libexpat.dll
+       File ..\bin\idzebra.dll
+       File "${VS_RUNTIME_LOCATION}\msvcr71.dll"
 SectionEnd
 
 Section "Zebra Development"
@@ -80,8 +89,13 @@ SectionEnd
 
 Section "Zebra Documentation"
        SectionIn 1 2
-       SetOutPath $INSTDIR
-       File /r ..\doc
+       SetOutPath $INSTDIR\doc
+       File ..\doc\*.html
+       File ..\doc\*.png
+       File ..\doc\*.pdf
+       File ..\doc\*.xml
+       File ..\doc\*.in
+       File ..\doc\*.xsl
        SetOutPath "$SMPROGRAMS\Index Data\Zebra\"
        CreateShortCut "$SMPROGRAMS\Index Data\Zebra\HTML Documentation.lnk" \
                  "$INSTDIR\doc\zebra.html"