Commit Graph

5 Commits

Author SHA1 Message Date
Laurent Rineau e50b92bf92 Better handling of empty PATH variables
Actually, we cannot do much.

And the dialog messages display "user" or "system" when talking about an
environment variable.
2013-08-27 14:20:34 +02:00
Laurent Rineau 74e75c0934 Update the Windows installer macro EnvVarUpdate
1/ Add a dialog popup for the error "lenght too long"
2/ Remove the check for ReadRegStr. I set it wrongly: if the read does not
work, it only means the variable does not exist.
2013-08-27 12:29:51 +02:00
Laurent Rineau 9a4bed21b6 NSIS can replace the PATH variable instead of appending it, when it is long
http://nsis.sourceforge.net/Environmental_Variables:_append,_prepend,_and_remove_entries#Usage

"Warning this code will replace paths rather than append if the existing
path exceeds the maximum string length in the NSIS build you are
using. Some setup crash can also occurs. "
2013-08-22 16:07:27 +02:00
Sébastien Loriot f46a56242c Normalize line endings 2012-11-29 19:16:13 +01:00
Fernando Cacciola a0f2742056 NSIS sources updated 2008-12-12 13:09:57 +00:00