title: Configure WiX to automatically set Product Version attribute?
body: <p>Currently, whenever I build my package, I have to manually increment the Version attribute inside Product.wxs file like this:</p>
  
  <pre><code>&lt;Product 
      Id = "*"
      Version="4.1.3"
  </code></pre>
  
  <p>I'd like to automate that, to streamline the build process. We use the following versioning scheme for exe/dll files:</p>
  
  <pre><code>major.minor.special.build
  </code></pre>
  
  <p>The special is almost never used, and set to 0, and the convention was to version the packaged MSI's as following, since you can only use three numbers:</p>
  
  <pre><code>major.minor.build
  </code></pre>
  
  <p>The only solutions I've seen let you grab the 4 digit version of the other project, and then truncate the build version, so you end up with this:</p>
  
  <pre><code>major.minor.special
  </code></pre>
  
  <p>Clearly that won't work with our scheme, since we lose the build number.  How can I grab <code>major.minor.build</code>, ignoring special?</p>