Lel
20th June 2007 18:48 UTC
File /x
Hi all,
I received the error message:
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Documents and Settings\emanuele\Desktop\Babelgum Beta\test.nsi" on line 101 -- aborting creation process
at the last line of my code:
SetOutPath "$INSTDIR"
SetOverwrite on
File *.dll /x "xul.dll"
What's wrong with it, it's something like specified in the manual.
The file is present and if I remove /x "xul.dll" it works.
thanks for any help
bye
kichik
20th June 2007 19:41 UTC
It's the other way around. /x comes first and then the filespec.
File /x xul.dll *.dll
Lel
21st June 2007 08:27 UTC
Hi, thanks for answering, that works
But I tried with /r options and it seems to have same problem:
If I do
(where chrome is a subfolder, so basically I want to install all the files in chrome but toolkit.jar)
File /r chrome /x "toolkit.jar"
or
File /x "toolkit.jar" /r chrome
An error is triggered.
thanks again
Afrow UK
21st June 2007 10:04 UTC
You really should check the documentation on File.
File /r /x "toolkit.jar" chrome
Stu