-; $Id: yaz.nsi,v 1.65 2005-03-16 21:30:23 adam Exp $
+; $Id: yaz.nsi,v 1.82 2006-05-03 13:27:20 adam Exp $
-!define VERSION "2.1.2"
+!define VERSION "2.1.19"
+!define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
!include "MUI.nsh"
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
+ File ..\bin\libxslt.dll
File ..\bin\yaz.dll
File ..\bin\*.exe
SetOutPath $SMPROGRAMS\YAZ
File ..\include\yaz\*.h
SetOutPath $INSTDIR\lib
File ..\lib\yaz.lib
+ File ..\lib\yazd.lib
+ SetOutPath $INSTDIR\bin
+ File ..\bin\yazd.dll
SectionEnd
Section "YAZ Documentation" YAZ_Documentation
SectionIn 1 2
SetOutPath $INSTDIR\doc
- File ..\doc\*.html
- File ..\doc\*.png
- File ..\doc\*.pdf
- File ..\doc\*.xml
- File ..\doc\*.in
- File ..\doc\*.dsl
- File ..\doc\*.xsl
- File ..\doc\*.css
+ File /r ..\doc\*.css
+ File /r ..\doc\*.dcl
+ File /r ..\doc\*.dsl
+ File /r ..\doc\*.ent
+ File /r ..\doc\*.html
+ File /r ..\doc\*.pdf
+ File /r ..\doc\*.xml
+ File /r ..\doc\*.png
+ File /r ..\doc\*.xsl
SetOutPath $SMPROGRAMS\YAZ
CreateShortCut "$SMPROGRAMS\YAZ\HTML Documentation.lnk" \
"$INSTDIR\doc\yaz.html"
Section "YAZ Source" YAZ_Source
SectionIn 1
+ SetOutPath $INSTDIR
+ File /r ..\*.c
+ File /r /x yaz ..\*.h
SetOutPath $INSTDIR\util
- File ..\util\*.c
File ..\util\yaz-asncomp
SetOutPath $INSTDIR\src
- File ..\src\*.c
- File ..\src\*.h
File ..\src\*.y
File ..\src\*.tcl
+ File ..\src\*.csv
File ..\src\*.asn
File ..\src\codetables.xml
- SetOutPath $INSTDIR\zoom
- File ..\zoom\*.c
- SetOutPath $INSTDIR\ztest
- File ..\ztest\*.c
- SetOutPath $INSTDIR\client
- File ..\client\*.c
- File ..\client\*.h
+ SetOutPath $INSTDIR\test
+ File ..\test\marc*.*
+ File ..\test\*.sh
+ File ..\test\*.xml
+ File ..\test\*.asn
SetOutPath $INSTDIR\win
File makefile
File *.nsi
File *.rc
- File *.h
SectionEnd
; begin uninstall settings/section