-; $Id: yaz.nsi,v 1.48 2004-05-14 08:19:16 adam Exp $
+; $Id: yaz.nsi,v 1.78 2006-03-31 12:49:44 adam Exp $
-!define VERSION "2.0.21"
+!define VERSION "2.1.17"
+!define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
!include "MUI.nsh"
+SetCompressor bzip2
+
Name "YAZ"
Caption "Index Data YAZ ${VERSION} Setup"
OutFile "yaz_${VERSION}.exe"
ExecWait '"$INSTDIR\bin\yaz-ztest.exe" -remove'
Noservice:
SetOutPath $INSTDIR\bin
+ File "${VS_RUNTIME_LOCATION}\msvcr71.dll"
+ File ..\bin\iconv.dll
+ File ..\bin\zlib1.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"
SetOutPath $INSTDIR\include\yaz
File ..\include\yaz\*.h
SetOutPath $INSTDIR\lib
- File ..\lib\*.lib
+ File ..\lib\yaz.lib
+ File ..\lib\yazd.lib
+ SetOutPath $INSTDIR\bin
+ File ..\bin\yazd.dll
SectionEnd
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"
File ..\src\*.h
File ..\src\*.y
File ..\src\*.tcl
+ File ..\src\*.csv
File ..\src\*.asn
- File ..\src\charconv.sgm
File ..\src\codetables.xml
+ SetOutPath $INSTDIR\test
+ File ..\test\marc*.*
+ File ..\test\*.c
+ File ..\test\*.sh
+ File ..\test\*.xml
+ File ..\test\*.asn
SetOutPath $INSTDIR\zoom
File ..\zoom\*.c
SetOutPath $INSTDIR\ztest