The answer appears to be, 'whatever MsiGetFileVersion returns'. As a commenter on that thread said, a bit of experimentation will reveal what that is.
I suspect it will be FILEVERSION, and the language it decides on will be the first language block it finds in the version resource. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kirill Kovalenko Sent: 19 October 2006 17:57 To: 'Rob Mensching' Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] FILEVERSION vs. FileVersion vs.PRODUCTVERSIONvs. ProductVersion Hello Rob, Thanks for the prompt reply. Sorry for the confusion. I meant not MSI, but Win32 resource filelds and their relationship with MSI. FILEVERSION or PRODUCTVERSION are the standard fields of the VERSIONINFO Win32 recource file. http://windowssdk.msdn.microsoft.com/en-us/library/ms726776.aspx Sincerely yours, Kirill Kovalenko Product Manager Softerra LLC http://www.softerra.com http://www.ldapadministrator.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Thursday, October 19, 2006 7:21 PM To: Kirill Kovalenko; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] FILEVERSION vs. FileVersion vs. PRODUCTVERSIONvs. ProductVersion AFAIK, there is no such thing as FILEVERSION or PRODUCTVERSION. The ProductVersion only comes into play for Upgrade scenarios. There only "FileVersion" concept is the Version column in the File table. All references to "file version" in the "File Versioning Rules" refers to that Version column for the files that are being installed/uninstalled/upgraded by the MSI and the actual file version resource is used when the MSI has to compare against a file that is already on disk. WiX doesn't expose the Version column in the File table because it can be auto-populated from your files and you can imagine how confused the Windows Installer could get if you put the wrong data in the Version column. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kirill Kovalenko Sent: Thursday, October 19, 2006 9:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FILEVERSION vs. FileVersion vs. PRODUCTVERSION vs. ProductVersion Hello, I read MSI and Platform SDK but haven't found a clean answer for the difference between FILEVERSION vs. FileVersion vs. PRODUCTVERSION vs. ProductVersion. A similar question was raised in the MSI newsgroup, but no exact answer was provided: http://groups.google.com/group/microsoft.public.platformsdk.msi/browse_frm/t hread/997708b0a2805cf7/11f526e51912fdf2 The real question behind is how Windows Installer obtains file version information during files copying. The MSI SDK's "File Versioning Rules" article does no clearly explains what is the "file version" and whether product version fields are taken into consideration while computing file version. I'm going to share some components from an existing product with a new product that have a different number and I wonder whether I can have separate versioning for file versions and product versions? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users