title: Command line NSIS script compilation - silent option
body: <p>I would like to make my installer silent. I would like to have flexibility to make installer silent or not depending on a command line option. In doc, I have found this to launch NSIS script compilation:</p>
  
  <pre><code>"C:\Program Files\NSIS\makensis.exe" "D:\Produts\folder\Install\nsis\MyApp.nsi"
  </code></pre>
  
  <p>this is working. By default, this is generating a non silent installer. To have a silent installer (with a command line option only), i tried this</p>
  
  <pre><code>"C:\Program Files\NSIS\makensis.exe" \S "D:\Produts\folder\Install\nsis\MyApp.nsi"
  </code></pre>
  
  <p>but \S is not a recognized option. How can i make installer silent with command line option?</p>
  
  <p>I can find this  in doc</p>
  
  <blockquote>
    <p>4.8.1.36 SilentInstall</p>
    
    <p>normal|silent|silentlog Specifies whether or not the installer should
    be silent. If it is 'silent' or 'silentlog', all sections that have
    the SF_SELECTED flag are installed quietly (you can set this flag
    using SectionSetFlags), with no screen output from the installer
    itself (the script can still display whatever it wants, use
    MessageBox's /SD to specify a default for silent installers). Note
    that if this is set to 'normal' and the user runs the installer with
    /S (case sensitive) on the command line, it will behave as if
    SilentInstall 'silent' was used. Note: see also LogSet.</p>
    
    <p>See section 4.12 for more information.</p>
  </blockquote>
  
  <p>so that i feel abused</p>
  
  <p>Or should some instruction be added to NSIS script, so that compilation is receptive to /S option ?</p>
  
  <p>Tried it with -S and not working either.</p>
  
  <p>Thanks and regards</p>