Skip to content

Commit 45a510c

Browse files
build test installer
1 parent f768c91 commit 45a510c

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

hypermc-setup-1.0.0.exe

50.1 KB
Binary file not shown.

installer.nsi

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
!define APP_NAME "HyperMc"
22
!define APP_VERSION "1.0.0"
33

4-
!define INSTALLER_TITLE = "${APP_NAME} - ${APP_VERSION} - Setup"
5-
!define UNINSTALLER_TITLE = "${APP_NAME} - ${APP_VERSION} - Uninstaller"
4+
!define INSTALLER_TITLE "${APP_NAME} - ${APP_VERSION} - Setup"
5+
!define UNINSTALLER_TITLE "${APP_NAME} - ${APP_VERSION} - Uninstaller"
66

77
!addincludedir "./"
88

99
!include "MUI.nsh"
10+
!include "MUI2.nsh"
1011

1112
SetCompressor lzma
1213

1314
!insertmacro MUI_LANGUAGE "English"
1415

16+
RequestExecutionLevel user
17+
18+
; ---------------------- PAGES ----------------------
19+
Page directory
20+
Page instfiles
1521

1622
; ---------------------- INSTALL ----------------------
1723

18-
Name ${INSTALLER_TITLE}
24+
Name "${INSTALLER_TITLE}"
1925
OutFile "hypermc-setup-${APP_VERSION}.exe"
2026
InstallDir "$PROGRAMFILES\Hypermc"
2127
ShowUnInstDetails show
2228

2329
Section "MainSection" SEC01
2430

2531
SectionEnd
26-
27-
WriteUninstaller "${UNINSTALLER_TITLE}.exe"

0 commit comments

Comments
 (0)