Work around NSIS bug in which C:\tbar appears as C:<TAB>bar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10035 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-06-09 15:20:31 +00:00
parent 5421c4539a
commit 3d992e5092

View File

@ -539,7 +539,10 @@ Function SummariseDownloads
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" "" !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" ""
${else} ${else}
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 1" "Text" "$(SummaryPathPrefix)" !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:<TAB>bar".
${StrRep} $0 '$PathPrefix' '\' '\\'
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" "$0"
${endif} ${endif}
!insertmacro MUI_HEADER_TEXT "$(SummaryTitle)" "" !insertmacro MUI_HEADER_TEXT "$(SummaryTitle)" ""