Version 19 (modified by 13 years ago) ( diff ) | ,
---|
Blueprint for Windows Installer
We want to allow an Emergency Management field worker to download a single executable which installs everything necessary even without Admin rights.
This means providing an option for which folder to install in (default to c:\program files\sahana eden
).
Inside this folder have:
- Web2Py binary inc Python
- applications\eden
- Python dependencies:
- "making a new binary distro with an updated file is as easy as unpacking and replacing the pyc file in the library.zip file"
- lxml: http://codespeak.net/lxml/
- Shapely: http://pypi.python.org/packages/any/S/Shapely/
- ReportLab:
- xlwt: http://pypi.python.org/pypi/xlwt
- Better Internationalisation support for Sqlite: http://groups.google.com/group/web2py/browse_thread/thread/a98973adb0225649
- FirefoxPortable
Shortcut should be created on Desktop & Start Menu (cutomisable to turn off) which runs app:
- start service, if installed but not started
- start app if no service installed
- load Portable Firefox onto start page: http://localhost:8000/eden
If Admin rights are available, then provide the option (default) to install Service & start Service at boot.
Developer
Current:
ToDo:
- Include the contents of http://eden.sahanafoundation.org/Sahana-Eden.zip
- Add an Icon on the Start menu/Desktop for Eclipse
End-user
Follow these instructions:
What the installer files do:
- end-user-install.nsi: Contains the code-logic behind the installer
- setup-cust.ini: Contains the Layout for the Web2Py config page
- setup-mode.ini: Contains the Layout for the mode selection (portable or not) page
- setup-sahanainfo.ini: Contains the Layout for the info page about how to use sahana-eden (Last page of the installer)
Script which can run Web2Py after installing any necessary dependencies into Source Python: