- windows/specific.sh now creates a custom NSIS configuration file for this

release and executes NSIS to build the Blender intaller
This commit is contained in:
2003-02-10 11:07:14 +00:00
parent 00aa396c2c
commit 3ae7008d09
2 changed files with 44 additions and 36 deletions

View File

@@ -55,7 +55,14 @@ chmod +x $DISTDIR/python$PVERS.dll
# Add the Help.url to the ditribution
cp -f extra/Help.url $DISTDIR/
# Copy $DISTDIR for the windows installer
rm -fr $DISTDIR/../blender-windows
cp -R $DISTDIR $DISTDIR/../blender-windows
# make the installer package with NSIS
NSIS="$PROGRAMFILES/NSIS/makensis.exe"
if (`test -x "$NSIS"`) then
cd installer
TEMPFILE=00.blender_tmp.nsi
DISTDIR=`cygpath -m $DISTDIR`
# make a installer config for this release
cat 00.blender.nsi | sed "s|VERSION|$VERSION|g" | sed "s|DISTDIR|$DISTDIR|g" | sed "s|SHORTVERS|$PVERS|g" > $TEMPFILE
"$NSIS" $TEMPFILE
rm $TEMPFILE
fi