According to http://www.nullsoft.com/free/nsis/makensis.htm#V
$TEMPDIR is not a valid variable, $TEMP is.

This was found by running the installer in wine, which complained about
X:DIR\Dingbats.ttf not being found.

-- 
Democracy is the working model of any form of mob rule. The fruit of
democracy, if unchecked by respect for human rights, is gang violence.
Always! -- http://www.unquietmind.com/mislaid_iv.html
Index: abi/src/pkg/win/setup/AbiWord.nsi
===================================================================
RCS file: /cvsroot/abi/src/pkg/win/setup/AbiWord.nsi,v
retrieving revision 1.13
diff -u -r1.13 AbiWord.nsi
--- abi/src/pkg/win/setup/AbiWord.nsi   18 Apr 2002 15:59:27 -0000      1.13
+++ abi/src/pkg/win/setup/AbiWord.nsi   24 Apr 2002 20:00:04 -0000
@@ -63,12 +63,12 @@
        File "..\AbiSuite\readme.txt"
 
        ; Special Install of Dingbats font
-       SetOutPath $TEMPDIR
+       SetOutPath $TEMP
        File "..\..\pkg\win\setup\Dingbats.ttf"
        IfFileExists "$WINDIR\Fonts\Dingbats.ttf" EraseTemp 0
-               CopyFiles /SILENT "$TEMPDIR\Dingbats.ttf" "$WINDIR\Fonts" 
+               CopyFiles /SILENT "$TEMP\Dingbats.ttf" "$WINDIR\Fonts" 
        EraseTemp:
-       Delete $TEMPDIR\Dingbats.ttf
+       Delete $TEMP\Dingbats.ttf
   
        ; Write the installation path into the registry
        WriteRegStr HKLM SOFTWARE\Abisuite "Install_Dir" "$INSTDIR"

Reply via email to