From 3d992e50921366f6a9dab197af1023a5c223ab42 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Thu, 9 Jun 2005 15:20:31 +0000 Subject: [PATCH] Work around NSIS bug in which C:\tbar appears as C:bar. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10035 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/Win32/packaging/installer/lyx_installer.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/Win32/packaging/installer/lyx_installer.nsi b/development/Win32/packaging/installer/lyx_installer.nsi index 233f2ca367..86e8258ed9 100644 --- a/development/Win32/packaging/installer/lyx_installer.nsi +++ b/development/Win32/packaging/installer/lyx_installer.nsi @@ -539,7 +539,10 @@ Function SummariseDownloads !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" "" ${else} !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 1" "Text" "$(SummaryPathPrefix)" - !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" "$PathPrefix" + ; This shouldn't be needed (from my understanding of the NSIS docs) + ; but without it a path "C:\tbar" appears as "C:bar". + ${StrRep} $0 '$PathPrefix' '\' '\\' + !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" "$0" ${endif} !insertmacro MUI_HEADER_TEXT "$(SummaryTitle)" ""