- Timestamp:
- Sep 19, 2024, 5:20:36 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/install.nsi
r62 r63 1 1 # $Id$ 2 3 LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf" 4 LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf" 2 5 3 6 Name "Tewi HTTPd" … … 6 9 Icon "tewi.ico" 7 10 LicenseData ../LICENSE 11 12 LangString EXEC_ONLY ${LANG_ENGLISH} "Install the executable only" 13 LangString EXEC_ONLY ${LANG_JAPANESE} "実行機能のみをインストールする" 14 LangString SERV_TOO ${LANG_ENGLISH} "Install the service too (NT-only)" 15 LangString SERV_TOO ${LANG_JAPANESE} "サービスもインストールする(NTのみ)" 16 LangString WAIT_STOP ${LANG_ENGLISH} "Waiting for 1 second so service can stop" 17 LangString WAIT_STOP ${LANG_JAPANESE} "サービスが止まるのを待っています" 8 18 9 19 !include "LogicLib.nsh" … … 46 56 SectionEnd 47 57 48 Section " Install the executable only" SEL_EXEC58 Section "$(EXEC_ONLY)" SEL_EXEC 49 59 SetOutPath "$INSTDIR\bin" 50 60 File "../tewi.exe" … … 52 62 SectionEnd 53 63 54 Section /o " Install the service too (NT-only)" SEL_SERVICE64 Section /o "$(SERV_TOO)" SEL_SERVICE 55 65 WriteINIStr $INSTDIR\install.ini uninstall service true 56 66 FileOpen $9 $INSTDIR\install.bat w … … 59 69 nsExec::Exec '"$INSTDIR\install.bat"' 60 70 Pop $0 61 DetailPrint " Waiting for 1s so service can stop..."71 DetailPrint "$(WAIT_STOP)" 62 72 Sleep 1000 63 73 CreateDirectory "$INSTDIR\logs" … … 95 105 Pop $0 96 106 FileOpen $9 $INSTDIR\uninstall.bat w 97 DetailPrint " Waiting for 1s so service can stop..."107 DetailPrint "$(WAIT_STOP)" 98 108 Sleep 1000 99 109 FileWrite $9 '"$SYSDIR\sc.exe" delete "TewiHTTPd"$\r$\n'
Note:
See TracChangeset
for help on using the changeset viewer.