Changes between Version 36 and Version 37 of InstallationGuidelines/Windows/Maintenance


Ignore:
Timestamp:
11/26/11 15:31:56 (13 years ago)
Author:
Daniel Klischies
Comment:

Updated for the new installer

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Windows/Maintenance

    v36 v37  
    2929# Ignore the NEWINSTALL error
    3030}}}
    31  * rename applications/eden as 'init'
     31 * Modify routes.py as follows:
     32{{{
     33default_application = 'eden'    # ordinarily set in base routes.py
     34default_controller = 'default'  # ordinarily set in app-specific routes.py
     35default_function = 'index'      # ordinarily set in app-specific routes.py
     36}}}
    3237 * Delete the examples & welcome folders
    33  * Zip-up contents of 'dist' folder (no 'dist' in the root of the zip)
    34  * Customise {{{C:\Program Files\NSIS\Contrib\zip2exe\Modern.nsh}}}:
    35 {{{
    36 !include "MUI.nsh"
    37 !define MUI_ICON "c:\bin\web2py\applications\eden\static\favicon.ico"
    38 
    39 !insertmacro MUI_PAGE_DIRECTORY
    40 !insertmacro MUI_PAGE_INSTFILES
    41 
    42 !insertmacro MUI_LANGUAGE "English"
    43 
    44 Section "install"
     38 * Delete sahana-eden-setup.exe in the Web2Py Directory if it exists
     39 * Download: [http://eden.sahanafoundation.org/attachment/wiki/InstallationGuidelinesWindowsMaintenance/end-user-setup-maintenance.zip] and copy the unpacked files to your web2py rootdir
     40 * Download & install: [http://prdownloads.sourceforge.net/nsis/nsis-2.46-setup.exe?download]
     41 * Open NSIS -> Compile NSI scripts -> File -> Load Script -> Select end-user-install.nsi in your web2py rootdir -> OK
     42 * After a few seconds: The new sahana-eden-setup.exe should be in your web2py directory
    4543 
    46     ;Add files
    47     SetOutPath "$INSTDIR"
    48 
    49     ;create desktop shortcut
    50     CreateShortCut "$DESKTOP\Sahana Eden.lnk" "$INSTDIR\web2py.exe" "" "$INSTDIR\applications\init\static\favicon.ico" 0
    51  
    52     ;create start-menu shortcut
    53     CreateShortCut "$SMPROGRAMS\Sahana Eden.lnk" "$INSTDIR\web2py.exe" "" "$INSTDIR\applications\init\static\favicon.ico" 0
    54 
    55 SectionEnd
    56 }}}
    57  * use NSIS' {{{zip2exe.exe}}} to convert to an .exe
    58   * Installer Name: Sahana Eden 0.5.4
    59   * Default Folder: C:\web2py
    60   * Output EXE file: C:\Sahana-Eden-0.5.4.exe
    61 
    6244== Tasks for Crisis Commons ==
    6345
    64  * Create an automated build script for the above manual steps to create an installer that takes a branch of Sahana Eden the source together with the dependencies (Python + needed Libraries). I would recommend creating a build script based on Autohotkey or similar as this is quite portable in itself and can be made into an self-contained executable.
    65 
    6646 * Right now the installer launches other installers for Python and it's libraries in turn. It would be easier for the installer to process this in one go. Again an easily maintainable approach would be better as the versions of Python and these libraries increment with the versions of Eden.
    67 
    68  * Provide a dialog to capture and setup the admin password on installation
    6947
    7048 * Feel free to add other areas that can improve the overall experience of the installer for the user
     
    7351== Other ToDo Items on the installer ==
    7452
    75  * Provide a startup script which passes the password, so no need for the TK GUI
    76   * Is there an easy call to launch the default browser from a script?
    77    * Can be 'eden' then, which is good for consistency
    7853 * Is it better to have a larger download & include the pre-populated database with migrate=False? (& pre-populate=False)
    7954 * Is it better to have a larger download & include the compiled app?