Changeset 61 in Main for trunk/Server/install.nsi


Ignore:
Timestamp:
Sep 18, 2024, 9:45:02 PM (2 months ago)
Author:
Nishi
Message:

add ServerRoot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/install.nsi

    r60 r61  
    1414        CreateDirectory "$INSTDIR\www"
    1515        CreateDirectory "$INSTDIR\www\icons"
     16        CreateDirectory "$INSTDIR\modules"
    1617        CreateDirectory "$INSTDIR\bin"
     18        SetOutPath "$INSTDIR"
     19        File /oname=LICENSE.txt "../LICENSE"
    1720        SetOutPath "$INSTDIR\bin"
    1821        File "tewi.exe"
     22        SetOutPath "$INSTDIR\modules"
     23        File "../Module/*.dll"
    1924        SetOutPath "$INSTDIR\etc"
    20         File /oname=tewi.conf.default "../example-win.conf"
     25        SetOverWrite off
     26        File /oname=tewi.conf "../example-win.conf"
    2127        SetOutPath "$INSTDIR\www"
    2228        File /oname=index.html "../itworks.html"
    2329        SetOutPath "$INSTDIR\www\icons"
    2430        File "../Icons/*.png"
     31        SetOverWrite on
    2532
    2633        CreateDirectory "$SMPROGRAMS\Tewi HTTPd"
     34        CreateShortcut "$SMPROGRAMS\Tewi HTTPd\License.lnk" "$INSTDIR\LICENSE.txt" ""
    2735        CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd.lnk" "$INSTDIR\bin\tewi.exe" ""
    2836        CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Start Tewi HTTPd (verbose).lnk" "$INSTDIR\bin\tewi.exe" "-v"
     
    3341
    3442        WriteUninstaller "$INSTDIR\uninstall.exe"
    35 
    36         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."
    3743SectionEnd
    3844
Note: See TracChangeset for help on using the changeset viewer.