From: Nishi Date: Wed, 18 Sep 2024 12:25:26 +0000 (+0000) Subject: copy to tewi.conf.default instead of tewi.conf X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=786fe18083d9d5ddaeee056d179041288f42aa72;p=tewi.git copy to tewi.conf.default instead of tewi.conf git-svn-id: file:///raid/svn-personal/tewi/trunk@57 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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"