# $Id$
+VIFileVersion "${VERSION}"
+VIProductVersion "${VERSION}"
+VIAddVersionKey "FileVersion" "${VERSION}"
+VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi"
+VIAddVersionKey "FileDescription" "Tewi HTTPd Installer"
+
LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf"
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
make PLATFORM=$1-service -j4 || fail
cp Server/tewi.exe tewi-service.exe
cd Server
-makensis install.nsi
+makensis /DVERSION=\"`make get-version`\" install.nsi
rm -f tewi.exe tewi-service.exe
cd ..