Subversion Repositories Tewi

Rev

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

Rev 57 Rev 60
Line 1... Line 1...
1
# $Id: install.nsi 57 2024-09-18 12:25:26Z nishi $
1
# $Id: install.nsi 60 2024-09-18 12:30:33Z nishi $
2
 
2
 
3
Name "Tewi HTTPd"
3
Name "Tewi HTTPd"
4
OutFile "install.exe"
4
OutFile "install.exe"
5
InstallDir "C:\Tewi"
5
InstallDir "C:\Tewi"
6
Icon "tewi.ico"
6
Icon "tewi.ico"
Line 10... Line 10...
10
UninstPage uninstConfirm
10
UninstPage uninstConfirm
11
UninstPage instfiles
11
UninstPage instfiles
12
Section
12
Section
13
	CreateDirectory "$INSTDIR\etc"
13
	CreateDirectory "$INSTDIR\etc"
14
	CreateDirectory "$INSTDIR\www"
14
	CreateDirectory "$INSTDIR\www"
-
 
15
	CreateDirectory "$INSTDIR\www\icons"
15
	CreateDirectory "$INSTDIR\bin"
16
	CreateDirectory "$INSTDIR\bin"
16
	SetOutPath "$INSTDIR\bin"
17
	SetOutPath "$INSTDIR\bin"
17
	File "tewi.exe"
18
	File "tewi.exe"
18
	SetOutPath "$INSTDIR\etc"
19
	SetOutPath "$INSTDIR\etc"
19
	File /oname=tewi.conf.default "../example-win.conf"
20
	File /oname=tewi.conf.default "../example-win.conf"
20
	SetOutPath "$INSTDIR\www"
21
	SetOutPath "$INSTDIR\www"
21
	File /oname=index.html "../itworks.html"
22
	File /oname=index.html "../itworks.html"
-
 
23
	SetOutPath "$INSTDIR\www\icons"
-
 
24
	File "../Icons/*.png"
22
 
25
 
23
	CreateDirectory "$SMPROGRAMS\Tewi HTTPd"
26
	CreateDirectory "$SMPROGRAMS\Tewi HTTPd"
24
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""
27
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""
25
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd (verbose).lnk" "$INSTDIR\bin\tewi.exe" "-v"
28
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd (verbose).lnk" "$INSTDIR\bin\tewi.exe" "-v"
26
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Uninstall Tewi HTTPd.lnk" "$INSTDIR\uninstall.exe" ""
29
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Uninstall Tewi HTTPd.lnk" "$INSTDIR\uninstall.exe" ""