| 40 | | * http://eden.sahanafoundation.org/browser/static/scripts/tools/standalone_exe.py |
| 41 | | * Clean the Eden folder (databases/errors/sessions) |
| 42 | | * rename it as 'init' |
| 43 | | * Zip-up folder contents |
| 44 | | * Customise {{{NSIS\Contrib\zip2exe\Modern.nsh}}}: |
| 45 | | {{{ |
| 46 | | !include "MUI.nsh" |
| 47 | | !define MUI_ICON "c:\bin\web2py\applications\eden\static\favicon.ico" |
| 48 | | |
| 49 | | !insertmacro MUI_PAGE_DIRECTORY |
| 50 | | !insertmacro MUI_PAGE_INSTFILES |
| 51 | | |
| 52 | | !insertmacro MUI_LANGUAGE "English" |
| 53 | | |
| 54 | | Section "install" |
| 55 | | |
| 56 | | ;Add files |
| 57 | | SetOutPath "$INSTDIR" |
| 58 | | |
| 59 | | ;create desktop shortcut |
| 60 | | CreateShortCut "$DESKTOP\Sahana Eden.lnk" "$INSTDIR\web2py.exe" "" |
| 61 | | |
| 62 | | ;create start-menu shortcut |
| 63 | | CreateShortCut "$SMPROGRAMS\Sahana Eden.lnk" "$INSTDIR\web2py.exe" |
| 64 | | |
| 65 | | SectionEnd |
| 66 | | }}} |
| 67 | | * use NSIS' {{{zip2exe.exe}}} to convert to an .exe |
| | 40 | Current: |
| | 41 | * InstallationGuidelinesWindowsMaintenance |