title: msi version numbers
body: <p>I'm really confused about msi version numbers.  <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa370859%28v=vs.85%29.aspx" rel="noreferrer">Here</a> the Version number as used for the ProductVersion in the Property table and in the Update table is restricted to having major and minor parts of 256 or less.  <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa372488%28v=vs.85%29.aspx" rel="noreferrer">Here</a> the Version number as used in the File table can have major and minor parts of 65536 or less.</p>
  <p>Is one of these wrong?  Are these two &quot;versions&quot; completely unrelated or what?</p>
  <p>Also, I do not understand what the following found in the description of the File table <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa368596%28v=vs.85%29.aspx" rel="noreferrer">File Table</a> means.</p>
  <blockquote>
  <p>Version</p>
  <p>This field is the version string for a versioned file. This field is blank for non-versioned files. The file version entered into this field must be identical to the version of the file included with the installation package.&quot;</p>
  </blockquote>
  <p>How is the &quot;<strong>version of the file included with the installation package</strong>&quot; determined?  Is it for example the value of FILEVERSION in Visual Studio's VS_VERSION_INFO resource?  What would it mean for some file created with NotePad or Word?</p>
  <p>And what exactly is a &quot;non-versioned&quot; file?  One with a FILEVERSION = 0.0.0.0 in the VS_VERSION_INFO resource?  Or something else? Are all .exe files considered versioned?</p>