Archive: new version and warning <<...without standard key "FileVersion">>


new version and warning <<...without standard key "FileVersion">>
Hi,

I am running NSIS into Eclipse. Lately I have upgraded to the latest version of NSIS.
Since then at the end of the compilation, I get the following messages:


3 warnings:
Generating version information for language "0000-English" without standard key "FileVersion"
Generating version information for language "0000-English" without standard key "FileDescription"
Generating version information for language "0000-English" without standard key "LegalCopyright"


In my nsi file, I have:

VIProductVersion 1.0.0.0
VIAddVersionKey /LANG=${LANG_ENGLISH} ProductName "${PROD_NAME}"
VIAddVersionKey ProductVersion "${VERSION}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VERSION}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${FILE_DESCR}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${COPYRIGHT}"
VIAddVersionKey /LANG=${LANG_ENGLISH} CompanyName "${COMPANY}"
VIAddVersionKey /LANG=${LANG_ENGLISH} CompanyWebsite "${URL}"

That used to work fine !


Anyone would know what's the problem and how to fix it ?


Cheers,

Add /LANG=${LANG_ENGLISH} for ProductVersion as well. If you don't, it creates another version block for language 0 - the default English language. But as you don't specify FileVersion, FileDescription and LegalCopyright for that version, it complains.


Thanks: that makes sense ... and that works ! ;-)

I do not know who makes the Eclipse Wizard but it still generates this code (I just checked), so I assume it should be changed ! !

Thanks again for the quick help,
L@u


you can submit a bugreport on:

www.sourceforge.net/projects/eclipsensis