Changeset 63 in Main


Ignore:
Timestamp:
Sep 19, 2024, 5:20:36 AM (2 months ago)
Author:
Nishi
Message:

add japanese to installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/install.nsi

    r62 r63  
    11# $Id$
     2
     3LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf"
     4LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
    25
    36Name "Tewi HTTPd"
     
    69Icon "tewi.ico"
    710LicenseData ../LICENSE
     11
     12LangString EXEC_ONLY ${LANG_ENGLISH} "Install the executable only"
     13LangString EXEC_ONLY ${LANG_JAPANESE} "実行機能のみをインストールする"
     14LangString SERV_TOO ${LANG_ENGLISH} "Install the service too (NT-only)"
     15LangString SERV_TOO ${LANG_JAPANESE} "サービスもインストールする(NTのみ)"
     16LangString WAIT_STOP ${LANG_ENGLISH} "Waiting for 1 second so service can stop"
     17LangString WAIT_STOP ${LANG_JAPANESE} "サービスが止まるのを待っています"
    818
    919!include "LogicLib.nsh"
     
    4656SectionEnd
    4757
    48 Section "Install the executable only" SEL_EXEC
     58Section "$(EXEC_ONLY)" SEL_EXEC
    4959        SetOutPath "$INSTDIR\bin"
    5060        File "../tewi.exe"
     
    5262SectionEnd
    5363
    54 Section /o "Install the service too (NT-only)" SEL_SERVICE
     64Section /o "$(SERV_TOO)" SEL_SERVICE
    5565        WriteINIStr $INSTDIR\install.ini uninstall service true
    5666        FileOpen $9 $INSTDIR\install.bat w
     
    5969        nsExec::Exec '"$INSTDIR\install.bat"'
    6070        Pop $0
    61         DetailPrint "Waiting for 1s so service can stop..."
     71        DetailPrint "$(WAIT_STOP)"
    6272        Sleep 1000
    6373        CreateDirectory "$INSTDIR\logs"
     
    95105                Pop $0
    96106                FileOpen $9 $INSTDIR\uninstall.bat w
    97                 DetailPrint "Waiting for 1s so service can stop..."
     107                DetailPrint "$(WAIT_STOP)"
    98108                Sleep 1000
    99109                FileWrite $9 '"$SYSDIR\sc.exe" delete "TewiHTTPd"$\r$\n'
Note: See TracChangeset for help on using the changeset viewer.