]> Git repositories of Nishi - tewi.git/commitdiff
copy to tewi.conf.default instead of tewi.conf
authorNishi <nishi@nishi.boats>
Wed, 18 Sep 2024 12:25:26 +0000 (12:25 +0000)
committerNishi <nishi@nishi.boats>
Wed, 18 Sep 2024 12:25:26 +0000 (12:25 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@57 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/install.nsi

index 6108d3c2897bdb8d7273ef295e758e18df0d6867..f361faaa98fd2fb0a2cf9c8f3da357e11099c0f1 100644 (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"