Comments like C/C++; Added commands to support VersionInformation (VIProductVersion, VIProductName, VICompanyName, VIComments, VILegalTrademarks, VILegalCopyrights, VIDescription); Support to named user variables (up to 500) but disabled by define
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2623 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c5c57c0fdb
commit
f758230f19
14 changed files with 823 additions and 128 deletions
59
Examples/VersionInfo.nsi
Normal file
59
Examples/VersionInfo.nsi
Normal file
|
@ -0,0 +1,59 @@
|
|||
;NSIS Modern User Interface version 1.65
|
||||
;User variables Example Script
|
||||
;Written by Ramon
|
||||
|
||||
;--------------------------------
|
||||
;Include Modern UI
|
||||
|
||||
!include "MUI.nsh"
|
||||
|
||||
;--------------------------------
|
||||
;Product Info
|
||||
|
||||
!define MUI_PRODUCT "User Variables"
|
||||
!define MUI_VERSION "1.65"
|
||||
|
||||
;--------------------------------
|
||||
;Configuration
|
||||
|
||||
;General
|
||||
OutFile "VersionInfo.exe"
|
||||
|
||||
;Folder selection page
|
||||
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"
|
||||
|
||||
;Get install folder from registry if available
|
||||
InstallDirRegKey HKCU "Software\${MUI_PRODUCT}" ""
|
||||
|
||||
ShowInstDetails nevershow
|
||||
|
||||
;--------------------------------
|
||||
;Version Information
|
||||
VIProductVersion "1.2.3.4"
|
||||
VIProductName "NSIS"
|
||||
VIComments "visit us at nsis.sourceforge.net"
|
||||
VICompanyName "NSIS Team"
|
||||
VILegalTrademarks "NullSoft Installer System"
|
||||
VILegalCopyrights "NullSoft Installer System"
|
||||
VIDescription "NSIS Self-extracting Setup"
|
||||
|
||||
;--------------------------------
|
||||
;Pages
|
||||
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
;--------------------------------
|
||||
;Languages
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
;--------------------------------
|
||||
;Installer Sections
|
||||
|
||||
Section "Dummy Section" SecCopyUI
|
||||
|
||||
/* Copy your files here */
|
||||
|
||||
SectionEnd
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue