-; $Id: zebra.nsi,v 1.26 2005-01-16 00:30:59 adam Exp $
+; $Id: zebra.nsi,v 1.30 2006-06-07 14:37:37 adam Exp $
!define VERSION "1.4.0"
+; Microsoft runtime CRT
+; VS 2003
+; !define VS_RUNTIME "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\msvcr71.dll"
+
+; VS 2005
+!define VS_RUNTIME "c:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\msvcr80.dll"
+
!include "MUI.nsh"
SetCompressor bzip2
SectionIn 1 2
SetOutPath $INSTDIR\bin
File ..\bin\*.exe
+ File ..\bin\*.manifest
+ File ..\bin\idzebra.dll
File ..\bin\iconv.dll
File ..\bin\zlib1.dll
File ..\bin\libxml2.dll
+ File ..\bin\libxslt.dll
File ..\bin\yaz.dll
File ..\bin\libexpat.dll
- File c:\winnt\system32\msvcr71.dll
+ File "${VS_RUNTIME}"
SectionEnd
Section "Zebra Development"
Section "Zebra Documentation"
SectionIn 1 2
SetOutPath $INSTDIR\doc
- File ..\doc\*.html
- File ..\doc\*.png
- File ..\doc\*.pdf
- File ..\doc\*.xml
- File ..\doc\*.in
- File ..\doc\*.xsl
+ File /r ..\doc\*.html
+ File /r ..\doc\*.png
+ File /r ..\doc\*.xml
+ File /r ..\doc\*.xsl
SetOutPath "$SMPROGRAMS\Index Data\Zebra\"
CreateShortCut "$SMPROGRAMS\Index Data\Zebra\HTML Documentation.lnk" \
- "$INSTDIR\doc\zebra.html"
- CreateShortCut "$SMPROGRAMS\Index Data\Zebra\PDF Documentaion.lnk" \
- "$INSTDIR\doc\zebra.pdf"
+ "$INSTDIR\doc\index.html"
SectionEnd
Section "Zebra Examples"
SetOutPath $INSTDIR
File /r ..\test
- File /r ..\examples
+ File /r /x *.mf /x *.LCK ..\examples
SectionEnd
Section "Zebra Source"