Changes between Version 36 and Version 37 of InstallationGuidelines/Windows/Maintenance
- Timestamp:
- 11/26/11 15:31:56 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Windows/Maintenance
v36 v37 29 29 # Ignore the NEWINSTALL error 30 30 }}} 31 * rename applications/eden as 'init' 31 * Modify routes.py as follows: 32 {{{ 33 default_application = 'eden' # ordinarily set in base routes.py 34 default_controller = 'default' # ordinarily set in app-specific routes.py 35 default_function = 'index' # ordinarily set in app-specific routes.py 36 }}} 32 37 * 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 45 43 46 ;Add files47 SetOutPath "$INSTDIR"48 49 ;create desktop shortcut50 CreateShortCut "$DESKTOP\Sahana Eden.lnk" "$INSTDIR\web2py.exe" "" "$INSTDIR\applications\init\static\favicon.ico" 051 52 ;create start-menu shortcut53 CreateShortCut "$SMPROGRAMS\Sahana Eden.lnk" "$INSTDIR\web2py.exe" "" "$INSTDIR\applications\init\static\favicon.ico" 054 55 SectionEnd56 }}}57 * use NSIS' {{{zip2exe.exe}}} to convert to an .exe58 * Installer Name: Sahana Eden 0.5.459 * Default Folder: C:\web2py60 * Output EXE file: C:\Sahana-Eden-0.5.4.exe61 62 44 == Tasks for Crisis Commons == 63 45 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 66 46 * 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 installation69 47 70 48 * Feel free to add other areas that can improve the overall experience of the installer for the user … … 73 51 == Other ToDo Items on the installer == 74 52 75 * Provide a startup script which passes the password, so no need for the TK GUI76 * Is there an easy call to launch the default browser from a script?77 * Can be 'eden' then, which is good for consistency78 53 * Is it better to have a larger download & include the pre-populated database with migrate=False? (& pre-populate=False) 79 54 * Is it better to have a larger download & include the compiled app?