anchor.diff:      shift
   if not "%~1"=="" goto loop
   
  -if defined nsis_compiler (
  -    "%nsis_compiler%\makensis.exe" %args%
  +:build
  +if defined nsis_path (
  +    "%nsis_path%\makensis.exe" %args%
   ) else (
       echo "Error: makensis.exe isn't in your PATH environment variable."
   )
positive.code: @echo off
  
  set nsis_compiler=
  
  if defined NSIS_HOME (
      if exist "%NSIS_HOME%\makensis.exe" (
          set "nsis_compiler=%NSIS_HOME%"
      )
  )
  
  
negative.code:     set RegQry=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NSIS
  )
  
  if not defined nsis_path (
      for /F "tokens=2*" %%a in ('reg query "%RegQry%" /v InstallLocation ^|findstr InstallLocation') do set nsis_path=%%b
  )
  
  if not defined nsis_path (
      for %%X in (makensis.exe) do (set nsis_path=%%~dp$PATH:X)
  )
  
  set args=
  