Ticket #18 (reopened major-feature)

Opened 2 years ago

Last modified 2 months ago

Installer

Reported by: andrew Assigned to: andrew
Priority: blocker Milestone:
Component: client Version: public-installer
Keywords: Cc:

Description

We need an installer to make installation simpler.

Change History

06/03/09 10:07:39 changed by root

  • milestone deleted.

Milestone usgs deleted

06/03/09 10:13:30 changed by andrew

  • version deleted.
  • milestone set to public-installer.

06/03/09 11:04:54 changed by andrew

  • type changed from task to major-feature.

06/03/09 11:16:57 changed by andrew

  • priority changed from critical to major.

06/03/09 11:25:15 changed by andrew

  • priority changed from major to blocker.

08/20/09 10:20:06 changed by andrew

  • priority changed from blocker to major.

08/27/09 11:00:36 changed by root

  • milestone deleted.

Milestone public-installer deleted

08/27/09 11:03:49 changed by andrew

  • version set to public-installer.

05/19/10 15:02:45 changed by andrew

  • priority changed from major to blocker.

05/19/10 17:50:21 changed by andrew

What kind of thing are we thinking of here? I've not written an installer for years...

05/20/10 13:23:34 changed by andrew

OK, so going to target Python2.6 for Windows + Linux initially.

05/20/10 14:45:21 changed by andrew

  • status changed from new to assigned.

Summary of discussion w Stefan: - Server app requires EWFE var defined - Client will use it if defined, otherwise "."

06/02/10 16:08:15 changed by andrew

  • status changed from assigned to new.

This is now configured for Windows and Linux. The "spec" files are in ewfe/resources/client-installer, client-installer-win32, etc.

To generate the code, run Build.py from pyinstaller, giving it the "spec" file. The exact location of files and libraries in the spec files depends on where Python, wxPython etc are installed (on Linux, everything is installed in system directories; on Windows everything is in my "Downloads" directory). For different installs, modify the spec files appropriately (they're pretty simple).

Note that Linux uses pyinstaller 1.4, but Windows uses the trunk, since this has a patch for the latest Win32 binaries.

The Linux server spec excludes "wx", so no GUI is used (Python server code automatically checks and handles a missing GUI gracefully). The client, however, requires a GUI, which makes the executable huge (it has GTK in there, I think).

06/02/10 16:08:28 changed by andrew

  • status changed from new to assigned.

06/02/10 16:09:25 changed by andrew

  • status changed from assigned to closed.
  • resolution set to fixed.

I'm closing this, since I think it basically works. I suspect there will be other issues related to the final release build, and perhaps tweaking config files or fixing other bugs.

06/02/10 16:10:18 changed by andrew

  • status changed from closed to reopened.
  • resolution deleted.