Skip to content
⌘ NSIS Forum Archive

escaped characters?

2 posts

bnicer#

escaped characters?

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


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#
The NSIS2IO function from the InstallOptions ReadMe:

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