title: NSIS installer (on OS X) gives 'Invalid command: TargetMinimalOS'
body: <p>I built NSIS 2.46 on my OS X computer according to the instructions provided at <a href="http://nsis.sourceforge.net/Docs/AppendixG.html#G.3" rel="nofollow noreferrer">http://nsis.sourceforge.net/Docs/AppendixG.html#G.3</a>. The build worked fine and it correctly creates my installer. </p>
  
  <p>My installer is fully working, but I tried to add the command:</p>
  
  <p>TargetMinimalOS 5.0</p>
  
  <p>This isn't essential to my task; as I understand it, all it does it let the installer run in Unicode, which isn't necessary. Just seemed like something that would be sensible to add, as I don't support older Windows versions anyway. I put it right after the command 'SetCompressor lzma', which works fine. However, makensis reports:</p>
  
  <p>[...]<br>
  SetCompressor: lzma<br>
  Invalid command: TargetMinimalOS</p>
  
  <p>and then aborts.</p>
  
  <p>To check I had it right, I copy-pasted it directly from the documentation (can't add the hyperlink - Docs/Chapter4.html#4.8.2.9 at same site as above) but it still gives that error. The error is the same one as if I make up a stupid command name like 'FrogXyzzy'.</p>
  
  <p>I will solve this problem by not using the command! However, does anyone know why it did not work? Is this a problem to do with the way I built nsis? (I prefer not to use DarwinPorts or Fink, but maybe they would have built it differently...) Or am I doing something stupid with the command name that I haven't spotted?</p>