[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 1948 in lilypond: Windows install clobbered system PATH
From: |
lilypond |
Subject: |
Re: Issue 1948 in lilypond: Windows install clobbered system PATH |
Date: |
Sun, 13 Nov 2011 19:54:18 +0000 |
Comment #10 on issue 1948 by address@hidden: Windows install clobbered
system PATH
http://code.google.com/p/lilypond/issues/detail?id=1948
The install documentation says Windows users add LilyPond to their path at
their option, so let's remove the dangerous lines from the installer.
Anyone with more than about 1024 - 34 = 990 characters in their PATH string
can expect data loss upon installing LilyPond for Windows until we fix the
installer.
https://github.com/janneke/gub/blob/master/nsis/lilypond-prepost.nsh#L43
Function registry_lilypond
- ReadRegStr $R0 HKLM "${ENVIRON}" "PATH"
- WriteRegExpandStr HKLM "${ENVIRON}" "PATH" "$R0;$INSTDIR\usr\bin"
-
Who has write-access to the install scripts ?