Subversion Repositories Tewi

Rev

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

Rev 128 Rev 206
Line 1... Line 1...
1
# $Id: install.nsi 128 2024-09-23 10:19:19Z nishi $
1
# $Id: install.nsi 206 2024-10-02 02:33:40Z 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 24... Line 24...
24
 
24
 
25
!include "LogicLib.nsh"
25
!include "LogicLib.nsh"
26
!include "Sections.nsh"
26
!include "Sections.nsh"
27
 
27
 
28
Page license
28
Page license
-
 
29
Page directory
29
Page components
30
Page components
30
Page instfiles
31
Page instfiles
31
UninstPage uninstConfirm
32
UninstPage uninstConfirm
32
UninstPage instfiles
33
UninstPage instfiles
33
Section
34
Section
Line 55... Line 56...
55
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""
56
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""
56
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd (verbose).lnk" "$INSTDIR\bin\tewi.exe" "-v"
57
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd (verbose).lnk" "$INSTDIR\bin\tewi.exe" "-v"
57
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Uninstall Tewi HTTPd.lnk" "$INSTDIR\uninstall.exe" ""
58
	CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Uninstall Tewi HTTPd.lnk" "$INSTDIR\uninstall.exe" ""
58
 
59
 
59
	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "DisplayName" "Tewi HTTPd"
60
	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "DisplayName" "Tewi HTTPd"
-
 
61
	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "InstallDir" '"$INSTDIR"'
60
	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "UninstallString" '"$INSTDIR\uninstall.exe"'
62
	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "UninstallString" '"$INSTDIR\uninstall.exe"'
61
 
63
 
62
	WriteUninstaller "$INSTDIR\uninstall.exe"
64
	WriteUninstaller "$INSTDIR\uninstall.exe"
63
SectionEnd
65
SectionEnd
64
 
66