title: Can output file directory be specified via command-line?
body: <p>I have an <code>.nsi</code> file which I call via command-line to output the installer, like this:</p>
  
  <pre><code>makensis fullPathToNsiScript
  </code></pre>
  
  <p>This creates the installer in the folder where my <code>nsi</code> script is. I need to output it to a specific folder, say desktop. <strong>Is it possible to do that via command line?</strong> </p>
  
  <p>I know the correct way is to specify it in the script itself, like</p>
  
  <pre><code>OutFile "outputFileFullPath"
  </code></pre>
  
  <p>But is it possible to do via command-line assuming I'm only providing the base-name of the output file in the <code>nsi</code> script? Something like:</p>
  
  <p>In script,</p>
  
  <pre><code>OutFile "outputFilename"
  </code></pre>
  
  <p>and then in command-line,</p>
  
  <pre><code>makensis fullPathToNsiScript "outputFileFullPath"
  </code></pre>
  
  <p>? The above obviously doesn't work. </p>