forked from tryton/tryton-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-single.nsi
More file actions
38 lines (31 loc) · 819 Bytes
/
Copy pathsetup-single.nsi
File metadata and controls
38 lines (31 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;This file is part of Tryton. The COPYRIGHT file at the top level of
;this repository contains the full copyright notices and license terms.
;Check version
!ifndef VERSION
!error "Missing VERSION! Specify it with '/DVERSION=<VERSION>'"
!endif
;General
Name "Tryton ${VERSION}"
OutFile "tryton-${VERSION}.exe"
SetCompressor lzma
SetCompress auto
SilentInstall silent
Icon "share\pixmaps\tryton\tryton.ico"
Section
InitPluginsDir
;Set output path to the installation directory
SetOutPath '$PLUGINSDIR'
;Put file
File /r "dist\*"
File "COPYRIGHT"
File "INSTALL"
File "LICENSE"
File "README"
File "TODO"
File "CHANGELOG"
SetOutPath "$PLUGINSDIR\doc"
File /r "doc\*"
;Run the exe
SetOutPath '$EXEDIR'
nsExec::Exec $PLUGINSDIR\tryton.exe
SectionEnd