wiki:InstallationGuidelines/Windows/Maintenance

Version 10 (modified by Fran Boon, 11 years ago) ( diff )

--

Maintenance of the End-user Windows Installer

End-user Instructions: InstallationGuidelinesWindows

  • Clean the Eden folder (databases/errors/sessions/uploads)
  • Clean the admin folder (sessions)
    c:
    cd \bin\web2py
    copy applications\eden\static\scripts\tools\standalone_exe.py .
    c:\bin\python26\python standalone_exe.py py2exe
    
  • Remove unwanted folders from dist/applications/eden
    • .bzr
    • .git
    • static/selenium
  • rename eden as 'init'
  • Delete the examples & welcome folders
  • Zip-up contents of 'dist' folder
  • Customise C:\Program Files\NSIS\Contrib\zip2exe\Modern.nsh:
    !include "MUI.nsh"
    !define MUI_ICON "c:\bin\web2py\applications\eden\static\favicon.ico"
    
    !insertmacro MUI_PAGE_DIRECTORY
    !insertmacro MUI_PAGE_INSTFILES
    
    !insertmacro MUI_LANGUAGE "English"
    
    Section "install"
     
        ;Add files
        SetOutPath "$INSTDIR"
    
        ;create desktop shortcut
        CreateShortCut "$DESKTOP\Sahana Eden.lnk" "$INSTDIR\web2py.exe" ""
     
        ;create start-menu shortcut
        CreateShortCut "$SMPROGRAMS\Sahana Eden.lnk" "$INSTDIR\web2py.exe"
    
    SectionEnd
    
  • use NSIS' zip2exe.exe to convert to an .exe

Developer installer

BluePrintInstallerWindows

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.