title: How to create two exe files with one nsis script?
body: <p>I have to create two exe files with one nsis script. One contains zip file as a full pack and other does not contain the zip file. Im setting a parameter in perl file which is calling my nsis script and using the parameter in nsis script. Problem is with the "outfile". Unable to check the condition.</p>
  
  <p>Example:</p>
  
  <p>passing parameter as $FULL_PKG =1 (with zip file), =0 (without zip file)
      name "PKG"
      Strcmp ${FULL_PKG} "1" 0 1
      outfile "FULLPKG.exe"
      outfile "PKG.exe"'</p>
  
  <pre><code>ERROR: command not valid outside section or function
  </code></pre>