Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   File in Function (http://forums.winamp.com/showthread.php?t=179633)

GernotFrisch 11th May 2004 14:57

File in Function
 
Err... I have a function that "pops" a filename. Now, I want to use: "File /oname=$R1 $R2" but it keeps telling me that $R" is not a valid file name. Basically I want to have the filename modified to remove the "../" by it's real names on runtime. I wrote the function, it works like: Push "C:\gaga\..\gugu"; Call BlahBlah; Pop $R1; (I can't press return here in this window - must be a bug in HM NIS Edit).

Joost Verburg 11th May 2004 15:49

How should the installer know what files to include if the filename is a variable? That's impossible.

You should use a macro.


All times are GMT. The time now is 05:01.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.