Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   escaped characters? (http://forums.winamp.com/showthread.php?t=250386)

bnicer 5th July 2006 01:33

escaped characters?
 
I'm getting an error in a custom page that displays the install path.

code:

LangString TEXT_IO_TASKLIST ${LANG_ENGLISH} "Destination location:\r\n\t$INSTDIR"

A problem occurs when there is a path that contains formatting tags, for instance, C:\temp. On the page the string will show up with a tab inserted between 'C:' and 'emp'.

Is there a function that would convert '$INSTDIR' to escaped characters?

pengyou 5th July 2006 07:16

The NSIS2IO function from the InstallOptions ReadMe:

${NSISDIR}\Docs\InstallOptions\Readme.html


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.