protecting log rotation with a mutex
[yaz-moved-to-github.git] / win / yaz.nsi
index f39fb96..f4f55a0 100644 (file)
@@ -1,9 +1,11 @@
-; $Id: yaz.nsi,v 1.47 2004-05-10 12:32:01 adam Exp $
+; $Id: yaz.nsi,v 1.57 2004-11-01 20:59:24 adam Exp $
 
-!define VERSION "2.0.20"
+!define VERSION "2.0.27"
 
 !include "MUI.nsh"
 
+SetCompressor bzip2
+
 Name "YAZ"
 Caption "Index Data YAZ ${VERSION} Setup"
 OutFile "yaz_${VERSION}.exe"
@@ -81,8 +83,12 @@ Section "YAZ Runtime" YAZ_Runtime
        ExecWait '"$INSTDIR\bin\yaz-ztest.exe" -remove'
 Noservice:
        SetOutPath $INSTDIR\bin
+       File c:\winnt\system32\msvcr71.dll
+       File ..\bin\iconv.dll
+       File ..\bin\zlib.dll
+       File ..\bin\libxml2.dll
+       File ..\bin\yaz.dll
        File ..\bin\*.exe
-       File ..\bin\*.dll
        SetOutPath $SMPROGRAMS\YAZ
        CreateShortCut "$SMPROGRAMS\YAZ\YAZ Client.lnk" \
                  "$INSTDIR\bin\yaz-client.exe"
@@ -100,7 +106,7 @@ Section "YAZ Development" YAZ_Development
        SetOutPath $INSTDIR\include\yaz
        File ..\include\yaz\*.h
        SetOutPath $INSTDIR\lib
-       File ..\lib\*.lib
+       File ..\lib\yaz.lib
 SectionEnd
 
 Section "YAZ Documentation" YAZ_Documentation
@@ -132,7 +138,6 @@ Section "YAZ Source" YAZ_Source
        File ..\src\*.y
        File ..\src\*.tcl
        File ..\src\*.asn
-       File ..\src\charconv.sgm
        File ..\src\codetables.xml
        SetOutPath $INSTDIR\zoom
        File ..\zoom\*.c