[Gtk-sharp-list] Gtk# 0.10 installer for Windows (aka. Gtk# Runtime and Development Environment for Windows)

Mathias Hasselmann mathias.hasselmann@gmx.de
26 Jun 2003 16:12:37 +0200


Still wondering for not raising any reaction with my previous posting
I'm proud the present the second edition of my Gtk# Installer for

Gtk# assemblies are now strongly named, compiled with ngen and copied to
the assembly cache during installation. This solves the first part of
the long known ".NET-Framework-cannot-find-Gtk#" problem. Second part of
the well known problem is gtksharpglue.dll not being found. Best
solution for this so far: Manually tweaking the PATH environment
variable. The Gtk# Runtime and Development Environment introduces a more
elegant solution:

	public static void Main()

Well. What does this magic GtkSharpRuntimeEnvironment.Init? It checks
the current platform. If Windows is identified the registry is scaned in
order to find the Gtk+ and the Gtk# Runtime Environment. When they are
found the application's PATH is adjusted. When not an exception verbosly
explaining the problem is thrown. Feel free to show it your user. Of
course you'll have to link against the GtkSharpRuntimeEnvironment
assembly if you wish to use this magic function.

So with this package deployment of Gtk# based applications on Windows
should have become quite trivial: You just ask your users to install the
.NET Framework, the Gtk+ Runtime Environment
(http://www.dropline.net/gtk/) and my Gtk# Runtime Environment
(http://taschenorakel.de/mathias/archive.en.html#gtk-sharp *)). Once
those packages have found their way on the user's computer, Gtk# based
applications can be copied arround and renamed as randomly as the user

Mathias (aka tbf)

*) Hopefully it is possible to move the package to
http://gtk-sharp.sourceforge.net/ soon?