Statistiques
| Révision :

root / tmp / org.txm.setups / nsis-2.5 / Examples / VersionInfo.nsi @ 3115

Historique | Voir | Annoter | Télécharger (1 ko)

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