Uwe Stöhr schreef op 27-3-2014 22:20:
To solve your MiKTeX recognition error, can you please send me the
content of your registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment "Path"
Well, I assure you that miktex is in the path, but I've debugged the
problem myself.
The problem is that NSIS has a maximum string length of 1024 characters
(including \r\n). My Path variable is longer than 1024, so ReadRegStr
returns an empty string.
See http://nsis.sourceforge.net/Special_Builds#Large_strings how you can
build or download a version of NSIS that has a 8192 character string limit.
Vincent