Subversion Repositories Tewi

Rev

Rev 78 | Rev 206 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 78 Rev 128
Line 1... Line 1...
1
# $Id: install.nsi 78 2024-09-19 10:56:38Z nishi $
1
# $Id: install.nsi 128 2024-09-23 10:19:19Z nishi $
2
 
2
 
3
VIFileVersion "1.0.0.0"
3
VIFileVersion "1.0.0.0"
4
VIProductVersion "1.0.0.0"
4
VIProductVersion "1.0.0.0"
5
VIAddVersionKey "FileVersion" "${VERSION}"
5
VIAddVersionKey "FileVersion" "${VERSION}"
6
VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi"
6
VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi"
Line 10... Line 10...
10
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
10
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
11
 
11
 
12
Name "Tewi HTTPd"
12
Name "Tewi HTTPd"
13
OutFile "install.exe"
13
OutFile "install.exe"
14
InstallDir "C:\Tewi"
14
InstallDir "C:\Tewi"
15
Icon "tewi-install.ico"
15
Icon "../Binary/tewi-install.ico"
16
LicenseData ../LICENSE
16
LicenseData ../LICENSE
17
 
17
 
18
LangString EXEC_ONLY ${LANG_ENGLISH} "Install the executable only"
18
LangString EXEC_ONLY ${LANG_ENGLISH} "Install the executable only"
19
LangString EXEC_ONLY ${LANG_JAPANESE} "実行機能のみをインストールする"
19
LangString EXEC_ONLY ${LANG_JAPANESE} "実行機能のみをインストールする"
20
LangString SERV_TOO ${LANG_ENGLISH} "Install the service too (NT-only)"
20
LangString SERV_TOO ${LANG_ENGLISH} "Install the service too (NT-only)"
Line 40... Line 40...
40
	File /oname=LICENSE.txt "../LICENSE"
40
	File /oname=LICENSE.txt "../LICENSE"
41
	SetOutPath "$INSTDIR\modules"
41
	SetOutPath "$INSTDIR\modules"
42
	File "../Module/*.dll"
42
	File "../Module/*.dll"
43
	SetOutPath "$INSTDIR\etc"
43
	SetOutPath "$INSTDIR\etc"
44
	SetOverWrite off
44
	SetOverWrite off
45
	File /oname=tewi.conf "../example-win.conf"
45
	File /oname=tewi.conf "../generated.conf"
46
	SetOutPath "$INSTDIR\www"
46
	SetOutPath "$INSTDIR\www"
47
	File /oname=index.html "../itworks.html"
47
	File /oname=index.html "../itworks.html"
-
 
48
	File /oname=pbtewi.gif "../Binary/pbtewi.gif"
48
	SetOutPath "$INSTDIR\www\icons"
49
	SetOutPath "$INSTDIR\www\icons"
49
	File "../Icons/*.png"
50
	File "../Icons/*.png"
50
	SetOverWrite on
51
	SetOverWrite on
51
 
52
 
52
	CreateDirectory "$SMPROGRAMS\Tewi HTTPd"
53
	CreateDirectory "$SMPROGRAMS\Tewi HTTPd"