|
|
|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Location: Italy
Posts: 28
|
My NSI code return this error:
File: "..\..\..\Programmi\Starlight\aliases.ini" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script "C:\Documents and Settings\Marco\Documenti\Starlight\setup.nsi" on line 52 -- aborting creation process But the file(s) and the directory realy exist! This i s avery strange error! Help me! ![]() Edited by Afrow UK on 29th May 2006 at 9:40 Code attached further down. Please post large code as a file attachment. |
|
|
|
|
|
#2 |
|
Member
Join Date: May 2006
Location: Devon, UK
Posts: 65
|
personally I'd say the ..\..\..\ is bad practice, I'd use a dir to reference from, I use ".\setup_files"
that wont cause the error though, you know you can use wildcards with 'file' and 'delete' ( I believe ), right? |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
Also, you must have moved the .nsi after you saved it, which is why you got the error. Where possible, I use absolute paths, or use the current directory where the .nsi resides.
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Script:
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|