File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,28 @@ Name "${PRODUCT_NAME}"
11
11
VIProductVersion " ${PRODUCT_VERSION}"
12
12
OutFile " dist\${OUTFILE_NAME}"
13
13
14
+ !define MULTIUSER_EXECUTIONLEVEL Highest
15
+ !define MULTIUSER_MUI
16
+ !define MULTIUSER_INSTALLMODE_COMMANDLINE
17
+ !include MultiUser.nsh
18
+ !include MUI2.nsh
19
+ !include InstallOptions.nsh
14
20
15
- !include " MUI2.nsh"
16
- !include " InstallOptions.nsh"
17
21
!define MUI_PAGE_CUSTOMFUNCTION_PRE oneclickpre
22
+ !insertmacro MULTIUSER_PAGE_INSTALLMODE
18
23
!insertmacro MUI_PAGE_LICENSE " ${LICENSE_FILE}"
19
24
!insertmacro MUI_PAGE_INSTFILES
25
+ !insertmacro MUI_LANGUAGE English
20
26
!include " uninstall.nsi"
21
27
28
+ Function .onInit
29
+ !insertmacro MULTIUSER_INIT
30
+ FunctionEnd
31
+
32
+ Function un.onInit
33
+ !insertmacro MULTIUSER_UNINIT
34
+ FunctionEnd
35
+
22
36
; Define the installer sections
23
37
Section " Ansys Python Manager" SEC01
24
38
; Set the installation directory to the program files directory
You can’t perform that action at this time.
0 commit comments