VersionInfo.nsi 1000 B

1234567891011121314151617181920212223242526272829
  1. ; VersionInfo.nsi
  2. ;
  3. ; This script shows you how to add version information to an installer.
  4. ; Windows shows this information on the Version tab of the File properties.
  5. ;--------------------------------
  6. Name "Version Info"
  7. OutFile "VersionInfo.exe"
  8. LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
  9. ;--------------------------------
  10. ;Version Information
  11. VIProductVersion "1.2.3.4"
  12. VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Test Application"
  13. VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "A test comment"
  14. VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Fake company"
  15. VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Test Application is a trademark of Fake company"
  16. VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright Fake company"
  17. VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Test Application"
  18. VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "1.2.3"
  19. ;--------------------------------
  20. Section ""
  21. SectionEnd