What is the best way of installing NetLogo together with some extra files?

38 views
Skip to first unread message

Ken Kahn

unread,
May 6, 2013, 12:25:21 PM5/6/13
to netlog...@googlegroups.com
Hi all.

Currently I tell users to install NetLogo and then download a zip file and unzip the contents into the NetLogo installation folder. Is there a better way?

Best,

-ken


Seth Tisue

unread,
May 6, 2013, 1:56:45 PM5/6/13
to netlog...@googlegroups.com
>>>>> "Ken" == Ken Kahn <toon...@gmail.com> writes:

Ken> Hi all. Currently I tell users to install NetLogo and then
Ken> download a zip file and unzip the contents into the NetLogo
Ken> installation folder. Is there a better way?

On Mac and Linux, you could just give people a zip file (or .dmg or
.tar.gz or any other archive format) that has all of NetLogo in it, plus
the files you want. That's what we do; the .dmg (Mac) and .tar.gz
(Linux) bundles we offer have nothing special or magic about them.

Windows is the only platform we offer an actual installer for. But that
installer mainly just un-archives some files; the *only* additional
thing it does is add a few entries to the Windows registry so that
double-clicking .nlogo and .nlogo3d files open NetLogo. If you don't
care about the registry entries, you can just do the same thing for
Windows users as on the other platforms, namely just give them a .zip
with anything you want in it.

If you want the registry stuff to happen, you'll need to build an
installer yourself. You could do it using any of the many Windows
installer builders that are available, or you could use the one we use:
Install4J. But it's commercial software so you'd need to purchase a
license.

The official NetLogo installer is built by this shell script:
https://github.com/NetLogo/NetLogo/blob/5.0.x/bin/release.sh
which invokes Install4J. You could modify it as desired.
Some documentation on building release packages is here:
https://github.com/NetLogo/NetLogo/wiki/Releasing

--
Seth Tisue | Northwestern University | http://tisue.net
developer, NetLogo: http://ccl.northwestern.edu/netlogo/

Ken Kahn

unread,
May 6, 2013, 2:23:05 PM5/6/13
to Seth Tisue, netlog...@googlegroups.com
Thanks. That's helpful. I'll probably give up on file extension associations. And another thing that the NetLogo installer does is add entries to All Programs of the Start menu. But not a big deal.

Best,

-ken




--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-deve...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages