copy to tewi.conf.default instead of tewi.conf

git-svn-id: file:///raid/svn-personal/tewi/trunk@57 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
Nishi 2024-09-18 12:25:26 +00:00
parent 557122f5f9
commit 786fe18083

View File

@ -16,7 +16,7 @@ Section
SetOutPath "$INSTDIR\bin"
File "tewi.exe"
SetOutPath "$INSTDIR\etc"
File /oname=tewi.conf "../example-win.conf"
File /oname=tewi.conf.default "../example-win.conf"
SetOutPath "$INSTDIR\www"
File /oname=index.html "../itworks.html"
@ -29,6 +29,8 @@ Section
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteUninstaller "$INSTDIR\uninstall.exe"
MessageBox MB_ICONEXCLAMATION|MB_OK "Example config is installed as $INSTDIR\etc\tewi.conf.default,$\r$\nBut Tewi HTTPd will try to use $INSTDIR\etc\tewi.conf."
SectionEnd
Section "Uninstall"