home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Programming / nsis-2.46-setup.exe / Examples / VersionInfo.nsi < prev    next >
Text File  |  2009-01-13  |  1KB  |  30 lines

  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. ;--------------------------------
  7.  
  8. Name "Version Info"
  9.  
  10. OutFile "VersionInfo.exe"
  11.  
  12. LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
  13. ;--------------------------------
  14. ;Version Information
  15.  
  16.   VIProductVersion "1.2.3.4"
  17.   VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Test Application"
  18.   VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "A test comment"
  19.   VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Fake company"
  20.   VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Test Application is a trademark of Fake company"
  21.   VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright Fake company"
  22.   VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Test Application"
  23.   VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "1.2.3"
  24.  
  25. ;--------------------------------
  26.  
  27. Section ""
  28.  
  29. SectionEnd
  30.