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