The Sifflet visual functional programming language and aid to understanding recursive functions (http://mypage.iu.edu/~gdweber/software/sifflet/home.html)

#50Windows installer

Create installer for Windows operating system

    • added tag p:high(current focus)
    • removed tag p:medium
  • 2013 July 15: So far I can make a zip file that can be extracted into a folder in which you can run Sifflet. It mostly works, but the datafiles are mislocated, which will cause Sifflet to crash if you export to either Python or Scheme (because it tries to copy the "library" files for those languages).

  • 2013 July 17

    1. If Sifflet is launched from an extracted archive in an arbitrary location, then an immediate call to getCurrentDirectory returns the directory containing sifflet.exe, even if it was launched from a shortcut. This could be useful, since that directory would also contain the datafiles. However, if the user subsequently changed working directory (for example, in saving or opening a file), then getCurrentDirectory would return the new working directory. So it can only be "trusted" if it is obtained before the user starts to interact with the program.

    2. The file Paths_sifflet_lib.hs (which is in lib/dist/build/autogen) defines the default locations of bindir, libdir, datadir, and libexecdir, but these can be overridden by environment variables sifflet_lib_bindir, sifflet_lib_libdir, sifflet_lib_datadir, and sifflet_lib_libexecdir.

    3. So a solution might be: at startup, get the current working directory, and then set the environment variable.

  • But System.Environment provides no setEnv function to complement getEnv

  • Better yet would be to track and updated the working directory in Sifflet's state, as also needed for issue #38.

    • added tag p:high
    • removed tag p:high(current focus)

    2013 July 17. Partly fixed in sifflet-devel. When exporting to Python or Scheme, there is a warning message about the missing files. At least it doesn't crash.

  • Related: #38 working directory

  • Need to provide source code for LGPL libraries.

  • Licenses for libraries are now included in sifflet-2.1.0-2-for-windows.zip in sifflet-devel, and source code for the libraries is available through the web site.

    • summary changed to "Windows installer"
    • description updated