about summary refs log tree commit diff
path: root/src/etc/pkg/rust.nsi
blob: 1c9a72bde8c2b63562981f02fe4f813374f3d900 (plain)
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
39
# -*- shell-script -*-
# (not really, but syntax is similar)
#
# This is a NSIS win32 installer script the Rust toolchain.
#

Name "Rust"
ShowInstDetails "show"
ShowUninstDetails "show"
SetCompressor "lzma"
LicenseForceSelection checkbox

Page license
Page components
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles


Section "Compiler"
    SetOutPath $INSTDIR
    File /oname=rustc.exe     stage3\rustc.exe
    File /oname=rustllvm.dll  stage3\rustllvm.dll
    File /oname=rustrt.dll    stage3\rustrt.dll
    File /oname=std.dll       stage3\std.dll

    SetOutPath $INSTDIR\lib
    File /oname=rustrt.dll   stage3\lib\rustrt.dll
    File /oname=std.dll      stage3\lib\std.dll
    File /oname=main.o       stage3\lib\main.o
    File /oname=glue.o       stage3\lib\glue.o
SectionEnd

Section "Documentation"
    SetOutPath $INSTDIR\doc
    File /nonfatal /oname=rust.html doc\rust.html
    File /nonfatal /oname=rust.pdf  doc\rust.pdf
SectionEnd