Changeset 217 in Main for trunk/Server/install.nsi
- Timestamp:
- Oct 3, 2024, 4:50:16 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/install.nsi
r208 r217 40 40 CreateDirectory "$INSTDIR\bin" 41 41 SetOutPath "$INSTDIR" 42 File /oname=LICENSE.txt "../LICENSE" 42 !cd .. 43 File /oname=LICENSE.txt "LICENSE" 43 44 SetOutPath "$INSTDIR\modules" 44 File "../Module/*.dll" 45 !cd Module 46 File "*.dll" 47 !cd .. 45 48 SetOutPath "$INSTDIR\etc" 46 49 SetOverWrite off 47 File /oname=tewi.conf " ../generated.conf"50 File /oname=tewi.conf "generated.conf" 48 51 SetOutPath "$INSTDIR\www" 49 File /oname=index.html "../itworks.html" 50 File /oname=pbtewi.gif "../Binary/pbtewi.gif" 52 File /oname=index.html "itworks.html" 53 !cd Binary 54 File /oname=pbtewi.gif "pbtewi.gif" 55 !cd .. 51 56 SetOutPath "$INSTDIR\www\icons" 52 File "../Icons/*.png" 57 !cd Icons 58 File "*.png" 59 !cd .. 60 !cd Server 53 61 SetOverWrite on 54 62 … … 73 81 Section "$(EXEC_ONLY)" SEL_EXEC 74 82 SetOutPath "$INSTDIR\bin" 75 File "../tewi.exe" 83 !cd .. 84 File "tewi.exe" 85 !cd Server 76 86 WriteINIStr $INSTDIR\install.ini uninstall service false 77 87 SectionEnd 78 88 89 !ifndef ONLY_EXEC 79 90 Section /o "$(SERV_TOO)" SEL_SERVICE 80 91 WriteINIStr $INSTDIR\install.ini uninstall service true … … 88 99 CreateDirectory "$INSTDIR\logs" 89 100 SetOutPath "$INSTDIR\bin" 90 File "../tewi.exe" 91 File /oname=tewisrv.exe "../tewi-service.exe" 101 !cd .. 102 File "tewi.exe" 103 File /oname=tewisrv.exe "tewi-service.exe" 104 !cd Server 92 105 FileOpen $9 $INSTDIR\install.bat w 93 106 FileWrite $9 '"$SYSDIR\sc.exe" delete "TewiHTTPd"$\r$\n' … … 99 112 Delete $INSTDIR\install.bat 100 113 SectionEnd 114 !endif 101 115 102 116 Function .onInit … … 107 121 !insertmacro StartRadioButtons $1 108 122 !insertmacro RadioButton ${SEL_EXEC} 123 !ifndef ONLY_EXEC 109 124 !insertmacro RadioButton ${SEL_SERVICE} 125 !endif 110 126 !insertmacro EndRadioButtons 111 127 FunctionEnd
Note:
See TracChangeset
for help on using the changeset viewer.