NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #2011 (closed feature: moved)

Opened 2013-10-09T10:39:38-05:00

Last modified 2013-10-09T10:40:16-05:00

Create a Windows installer for ImageJ2/Fiji

Reported by: curtis Owned by: dscho
Priority: major Milestone: imagej-2.0.0
Component: Community Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Right now, Fiji and ImageJ2 have the problem that if unpacked into the Program Files directory on Windows, the ImageJ Updater does not have full, unimpeded read/write access to its own directory. This is due to the Windows security model. It is in general very difficult to detect programmatically whether things will work; they might seem to work temporarily until the computer is rebooted, for example.

However, there is a potential solution: distribute the Windows version of ImageJ using an installer such as NSIS or Inno Setup, and have the installer flag the entire ImageJ/Fiji directory as globally writable by all users.

For details, see  this SO answer and  this Inno Setup FAQ entry.

Having a Windows installer will be good anyway because Windows users are most comfortable with them (just like OS X users are comfortable with DMG images which they mount and then copy the .app into /Applications themselves).

One wrinkle is that we still want to give a helpful error message if ImageJ/Fiji was manually unpacked into Program Files without using the installer. To do that, we can have the installer write a stub file into the installation directory, which is not present in the ImageJ/Fiji cross-platform zip distribution. And if the Updater does not see that stub file, it refuses to try to update an installation in Program Files.

Change History

comment:1 Changed 2013-10-09T10:40:16-05:00 by curtis

  • Type changed from defect to feature

comment:2 Changed 2014-05-01T17:20:21-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to moved