remove some comments from sample
This commit is contained in:
parent
39e2f6c891
commit
8ced25b36c
@ -1,41 +1,27 @@
|
|||||||
# This installs two files, app.exe and logo.ico, creates a start menu shortcut, builds an uninstaller, and
|
|
||||||
# adds uninstall information to the registry for Add/Remove Programs
|
|
||||||
|
|
||||||
# To get started, put this script into a folder with the two files (app.exe, logo.ico, and license.rtf -
|
|
||||||
# You'll have to create these yourself) and run makensis on it
|
|
||||||
|
|
||||||
# If you change the names "app.exe", "logo.ico", or "license.rtf" you should do a search and replace - they
|
|
||||||
# show up in a few places.
|
|
||||||
# All the other settings can be tweaked by editing the !defines at the top of this script
|
|
||||||
!define APPNAME "Parity"
|
!define APPNAME "Parity"
|
||||||
!define COMPANYNAME "ETHCORE"
|
!define COMPANYNAME "ETHCORE"
|
||||||
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
||||||
# These three must be integers
|
|
||||||
!define VERSIONMAJOR 1
|
!define VERSIONMAJOR 1
|
||||||
!define VERSIONMINOR 2
|
!define VERSIONMINOR 2
|
||||||
!define VERSIONBUILD 0
|
!define VERSIONBUILD 0
|
||||||
# These will be displayed by the "Click here for support information" link in "Add/Remove Programs"
|
|
||||||
# It is possible to use "mailto:" links in here to open the email client
|
|
||||||
!define HELPURL "https://github.com/ethcore/parity/wiki" # "Support Information" link
|
!define HELPURL "https://github.com/ethcore/parity/wiki" # "Support Information" link
|
||||||
!define UPDATEURL "https://github.com/ethcore/parity/releases" # "Product Updates" link
|
!define UPDATEURL "https://github.com/ethcore/parity/releases" # "Product Updates" link
|
||||||
!define ABOUTURL "https://github.com/ethcore/parity" # "Publisher" link
|
!define ABOUTURL "https://github.com/ethcore/parity" # "Publisher" link
|
||||||
# This is the size (in kB) of all the files copied into "Program Files"
|
|
||||||
!define INSTALLSIZE 26120
|
!define INSTALLSIZE 26120
|
||||||
|
|
||||||
RequestExecutionLevel admin ;Require admin rights on NT6+ (When UAC is turned on)
|
RequestExecutionLevel admin ;Require admin rights on NT6+ (When UAC is turned on)
|
||||||
|
|
||||||
InstallDir "$PROGRAMFILES\${COMPANYNAME}\${APPNAME}"
|
InstallDir "$PROGRAMFILES\${COMPANYNAME}\${APPNAME}"
|
||||||
|
|
||||||
# rtf or txt file - remember if it is txt, it must be in the DOS text format (\r\n)
|
|
||||||
LicenseData "..\LICENSE"
|
LicenseData "..\LICENSE"
|
||||||
# This will be in the installer/uninstaller's title bar
|
|
||||||
Name "${COMPANYNAME} ${APPNAME}"
|
Name "${COMPANYNAME} ${APPNAME}"
|
||||||
Icon "logo.ico"
|
Icon "logo.ico"
|
||||||
outFile "installer.exe"
|
outFile "installer.exe"
|
||||||
|
|
||||||
!include LogicLib.nsh
|
!include LogicLib.nsh
|
||||||
|
|
||||||
# Just three pages - license agreement, install location, and installation
|
|
||||||
page license
|
page license
|
||||||
page directory
|
page directory
|
||||||
Page instfiles
|
Page instfiles
|
||||||
|
Loading…
Reference in New Issue
Block a user