From 786fe18083d9d5ddaeee056d179041288f42aa72 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 18 Sep 2024 12:25:26 +0000 Subject: [PATCH] copy to tewi.conf.default instead of tewi.conf git-svn-id: file:///raid/svn-personal/tewi/trunk@57 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/install.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Server/install.nsi b/Server/install.nsi index 6108d3c..f361faa 100644 --- a/Server/install.nsi +++ b/Server/install.nsi @@ -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" -- 2.43.0