title: Inno Setup setup file name append AppVersion
body: <p>How to append <code>AppVersion</code> to <code>setup.exe</code> file?</p>
  
  <p>In other words, how to make output filename as <code>sample-setup-1.4.2.0.exe</code>?</p>
  
  <pre><code>[Setup]
  AppName= {#GetStringFileInfo("Sample.exe", "ProductName")}
  AppVersion= {#GetStringFileInfo("Sample.exe", "FileVersion")}
  
  OutputBaseFilename=setup
  </code></pre>