Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   File(s) realy exist! (http://forums.winamp.com/showthread.php?t=247071)

BarrelOfAGun 26th May 2006 12:12

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.

shaunb 26th May 2006 13:18

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?

JasonFriday13 28th May 2006 21:43

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.

Afrow UK 29th May 2006 08:42

1 Attachment(s)
Script:


All times are GMT. The time now is 17:51.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.