First time I decided to use variables.
Using 1.32 (latest non-beta)
Name "test"And I get this:
OutFile "insttest.exe"
DirText "Choose a directory to install in to:"
DirShow show
Section "Test"
SetOutPath $INSTDIR
strcpy $0 "d:\program files\nsis\"
File $0\makensis.nsi
SectionEnd
MakeNSIS v1.32 - Copyright 1999-2001 Nullsoft, Inc.Now it looks like the variable has not been substituted in the line marked in bold. What obvious stupid thing have I done?
Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler.
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Vargas, et al.
Use the /LICENSE switch to view license information.
-=-=-=-=-=-=-=-=-=-=- Processing script -=-=-=-=-=-=-=-=-=-=-
Script file: "D:\PROGRA~1\NSIS\test.nsi"
Name: "test"
OutFile: "insttest.exe"
DirText: "Choose a directory to install in to:"
DirShow: show
Section: "Test"
SetOutPath: "$INSTDIR"
StrCpy $0 "d:\program files\nsis\"
File: "$0\makensis.nsi" -> no files found.
Error in script "D:\PROGRA~1\NSIS\test.nsi" on line 9 -- aborting creation process