Towards 2.0.12
[yaz-moved-to-github.git] / win / yaz.nsi
index 2e9972f..0850346 100644 (file)
@@ -1,6 +1,7 @@
-; $Id: yaz.nsi,v 1.62 2005-02-08 14:58:19 adam Exp $
+; $Id: yaz.nsi,v 1.72 2006-02-01 20:11:22 adam Exp $
 
-!define VERSION "2.0.34"
+!define VERSION "2.1.12"
+!define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
 
 !include "MUI.nsh"
 
@@ -83,7 +84,7 @@ Section "YAZ Runtime" YAZ_Runtime
        ExecWait '"$INSTDIR\bin\yaz-ztest.exe" -remove'
 Noservice:
        SetOutPath $INSTDIR\bin
-       File c:\winnt\system32\msvcr71.dll
+       File "${VS_RUNTIME_LOCATION}\msvcr71.dll"
        File ..\bin\iconv.dll
        File ..\bin\zlib1.dll
        File ..\bin\libxml2.dll
@@ -120,6 +121,7 @@ Section "YAZ Documentation" YAZ_Documentation
        File ..\doc\*.dsl
        File ..\doc\*.xsl
        File ..\doc\*.css
+       File ..\doc\*.ent
        SetOutPath $SMPROGRAMS\YAZ
        CreateShortCut "$SMPROGRAMS\YAZ\HTML Documentation.lnk" \
                  "$INSTDIR\doc\yaz.html"
@@ -137,6 +139,7 @@ Section "YAZ Source" YAZ_Source
        File ..\src\*.h
        File ..\src\*.y
        File ..\src\*.tcl
+       File ..\src\*.csv
        File ..\src\*.asn
        File ..\src\codetables.xml
        SetOutPath $INSTDIR\zoom