Packaging a Gtk2hs based program for Windows

Hello, haskellers. Recently I stumbled upon a problem. It may sound quite off-topic for this list, but, I'm sure, almost every haskell programmer runs into it sooner or later. It sounds: How to make a neat Windows installer for a nice Gtk2hs program I wrote last week? How to solve the problem of dependency on GTK? Should I ask my users to install a GTK package or it would be better to package all the dynamic libraries needed along with my program? Are there any troubles with different character encodings used in Windows? How to change the application icon? And so on.. I understand, there is no ultimate answer, but I hope there is some wisdom to share. I've been a Linux user for more then five years and now I've found myself completely illiterate on how to make my code easily accessible for a nontechnical Windows user. I would appreciate any thoughts and advises Best wishes, Dmitry

2010/10/7 Dmitry V'yal
It sounds: How to make a neat Windows installer for a nice Gtk2hs program I wrote last week? How to solve the problem of dependency on GTK? Should I ask my users to install a GTK package or it would be better to package all the dynamic libraries needed along with my program? Are there any troubles with different character encodings used in Windows? How to change the application icon? And so on..
It is better to copy GTK libraries with your application. If you ask user to install GTK libraries they can install incompatible version (and certainly will). ;) We didn't encountered difficulties with different character encodings. You have to look on gcc documentation (ld part of it) where you can specify resource file with application icon. Don't forget -mwindows key for ld.
participants (2)
-
Dmitry V'yal
-
Serguey Zefirov