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}"
1111VIProductVersion " ${PRODUCT_VERSION}"
1212OutFile " dist\${OUTFILE_NAME}"
1313
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
1420
15- !include " MUI2.nsh"
16- !include " InstallOptions.nsh"
1721!define MUI_PAGE_CUSTOMFUNCTION_PRE oneclickpre
22+ !insertmacro MULTIUSER_PAGE_INSTALLMODE
1823!insertmacro MUI_PAGE_LICENSE " ${LICENSE_FILE}"
1924!insertmacro MUI_PAGE_INSTFILES
25+ !insertmacro MUI_LANGUAGE English
2026!include " uninstall.nsi"
2127
28+ Function .onInit
29+ !insertmacro MULTIUSER_INIT
30+ FunctionEnd
31+
32+ Function un.onInit
33+ !insertmacro MULTIUSER_UNINIT
34+ FunctionEnd
35+
2236; Define the installer sections
2337Section " Ansys Python Manager" SEC01
2438 ; Set the installation directory to the program files directory
You can’t perform that action at this time.
0 commit comments