-
Notifications
You must be signed in to change notification settings - Fork 0
/
installer.nsi
40 lines (31 loc) · 870 Bytes
/
installer.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
36
37
38
39
40
# Name des Installers
Outfile "GitManagerInstaller.exe"
# Installationsverzeichnis
InstallDir $PROGRAMFILES\GitManager
# Symbol für den Installer
Icon "icon.ico"
# MUI2 einbinden
!include "MUI2.nsh"
# Standard-Headerbilder von MUI2 verwenden, anstatt spezifische Bilddateien zu benötigen
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
# Seiten
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
# Uninstall
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
# Sprachen
!insertmacro MUI_LANGUAGE "English"
Section "Install"
SetOutPath $INSTDIR
File /r "dist\GitManager\*.*"
CreateShortcut "$DESKTOP\GitManager.lnk" "$INSTDIR\GitManager.exe"
SectionEnd
Section "Uninstall"
Delete "$INSTDIR\*.*"
RMDir "$INSTDIR"
Delete "$DESKTOP\GitManager.lnk"
SectionEnd