forked from cossacklabs/themis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Themis.nsi
35 lines (31 loc) · 919 Bytes
/
Themis.nsi
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
Name "Themis"
OutFile "build\InstallThemis.exe"
LicenseData "LICENSE"
InstallDir "$PROGRAMFILES\Themis"
VIAddVersionKey "ProductName" "Themis"
VIAddVersionKey "CompanyName" "Cossack Labs Limited"
VIAddVersionKey "LegalCopyright" "(c) Cossack Labs Limited"
VIAddVersionKey "FileDescription" "Themis library installer"
VIAddVersionKey "FileVersion" "0.12.0"
VIAddVersionKey "ProductVersion" "0.12.0"
VIFileVersion 0.12.0.0
VIProductVersion 0.12.0.0
Page license
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
Section "Install"
SetOutPath $INSTDIR
File LICENSE
File /r /x pkgconfig build\install\*
WriteUninstaller $INSTDIR\Uninstall.exe
SectionEnd
Section "Uninstall"
Delete $INSTDIR\Uninstall.exe
Delete $INSTDIR\LICENSE
RmDir /r /REBOOTOK $INSTDIR\bin
RmDir /r $INSTDIR\include
RmDir /r $INSTDIR\lib
RmDir $INSTDIR
SectionEnd