Archive: File(s) realy exist!


File(s) realy exist!
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.


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?


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.


Script: