List Info

Thread: packaging for windows




packaging for windows
user name
2006-01-12 11:49:08
Hi,

Did anyone look into packaging perl/gtk applications for
windows ?

I have some users that would really like a package that
"Just Works" 
(when perl was installed already).
I installed my application manually on one system but it
involved 
manually unzipping a lot of dll's which is quite obscure.

Thanks,

-- Jaap <parduscpan>
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
packaging for windows
user name
2006-01-12 14:11:36
On Thu, 12 Jan 2006 12:49:08 +0100
Jaap Karssenberg <j.g.karssenbergstudent.utwente.nl>
wrote:

>Hi,
>
>Did anyone look into packaging perl/gtk applications for
windows ?
>
>I have some users that would really like a package that
"Just Works" 
>(when perl was installed already).
>I installed my application manually on one system but it
involved 
>manually unzipping a lot of dll's which is quite
obscure.
>
>Thanks,

I would write to ActiveState and ask them to include it in
their
Perl distribution, like they do with Tk.  
Most Windows users wouldn't be able to use Tk, if it wasn't
for the
pre-packaging that ActiveState does.



-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.
html
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
packaging for windows
user name
2006-01-12 15:56:50
>>>>> "Jaap" == Jaap Karssenberg
<j.g.karssenbergstudent.utwente.nl> writes:

    Jaap> Hi, Did anyone look into packaging perl/gtk
    Jaap> applications for windows ?

Yes, I have  to handle such a situation for  a delivery
target of
end of March 2006 for an un-packaged solution (possibly
involving
manual steps) and a  more idiot-proof solution for September
2006
(including the possibility to install  on D: or more
generally any
root folder).

    Jaap> I have some users that would really like a
package that
    Jaap> "Just Works" (when perl was installed
already).

For  a subset of  my application  I have  already used  PAR
which
allows the creation of executables embedding the perl
interpreter
for a no-dependencies solution.

It works great on w2000 and XP (so far).

    Jaap> I installed my application manually on one
system but
    Jaap> it involved manually unzipping a lot of dll's
which is
    Jaap> quite obscure.

My  main target  was  Solaris so  far,  I will  begin
looking  at
compiling gtk on windows in  the coming weeks and will
appreciate
any pointers.

Thanks in advance,

       Vincent
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
packaging for windows
user name
2006-01-12 20:01:22
Hi,

Am Donnerstag 12 Januar 2006 12:49 schrieb Jaap Karssenberg:

> Did anyone look into packaging perl/gtk applications
for windows ?

I set up the following configuration:
On the "build"-machine (full Gtk, gtk-perl
installed), I use

pp -x -o foo.exe -M Glib -M Gtk2 -l
c:perlsitelibautoGlibGlib.dll -l c:
perlsitelibautoGtk2Gtk2.dll foo.pl

(all on one line, of course, and you might have to adjust
the path to the 
dlls).
The created foo.exe runs on a XP machine that has Gtk
installed, but no perl.

> I have some users that would really like a package that
"Just Works"
> (when perl was installed already).

As there is a nice installer for Gtk, I'd consider this a 
"pretty-much-just-works" solution

> I installed my application manually on one system but
it involved
> manually unzipping a lot of dll's which is quite
obscure.

> Thanks,

HTH,

Stephan
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
packaging for windows
user name
2006-01-12 21:33:53
Jaap Karssenberg wrote:

> Hi,
>
> Did anyone look into packaging perl/gtk applications
for windows ?
>
> I have some users that would really like a package that
"Just Works" 
> (when perl was installed already).
> I installed my application manually on one system but
it involved 
> manually unzipping a lot of dll's which is quite
obscure.

I've had to do a couple of rollouts, and have some more on
the way.

I use Alex Shaduri's gtk packages available at:
http://members.lyc
os.co.uk/alexv6/
There is also a neat theme switcher, and some even neater
themes. The 
default gtk theme from the official win32 binaries looks
like arse, but 
Alex has certainly solved this issue for Windows gtk users

I've done a fair bit of testing ... as I said, I've already
done a 
couple of rollouts, and had zero complaints  It works
flawlessly with 
Perl Gtk2. Alex updates his packages pretty regularly too.

You'll have to grab libglade and libxml2 win32 binaries from
around the 
place, as these aren't included in Alex's gtk packages. I
just dumped 
them in the gtk program files directory ( the default
location for 
Alex's installer ).

After that, you'll 'just' have to install ActiveState Perl
and all your 
modules. As others have suggested, you can make ppms of all
your perl 
modules and install from those. In most cases there are
already ppms 
available anyway, so just put them on a CD in case there's
no internet 
connection where you're installing ( has happened ).

Perhaps someone else has a better idea again?

Here's a method I've been meaning to try, but haven't gotten
around to 
it yet ( warning ... untested and dodgy ):

- install ActiveState Perl on a development box
- install all Perl modules
- zip up entire ActiveState installation folder ( eg c:Perl
or 
whereever you put it )

... and then on the target PCs:

- install ActiveState Perl
- unzip ActiveState folder, from above, on top of current
installation

Just to repeat - I haven't tried this yet. It depends on
whether 
ActiveState's Perl distrubution only uses the actual Perl
installation 
path ( eg C:Perl ), or whether it also dumps things
elsewhere ( eg the 
registry ) when you install modules. I suspect it would
*not* use the 
registry, so this should be safe. Someone who knows better
might want to 
comment on whether this is a bad idea or not ... but anyway
I'm sure 
testing will reveal whether it's likely to cause problems.

Dan

-- 
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasaknusconsulting.com.au
website: http://www.nusconsult
ing.com.au
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
packaging for windows
user name
2006-01-12 23:45:04
Stephan Brunner wrote:

>I set up the following configuration:
>On the "build"-machine (full Gtk, gtk-perl
installed), I use
>
>pp -x -o foo.exe -M Glib -M Gtk2 -l
c:perlsitelibautoGlibGlib.dll -l c:
>perlsitelibautoGtk2Gtk2.dll foo.pl
>
>(all on one line, of course, and you might have to
adjust the path to the 
>dlls).
>The created foo.exe runs on a XP machine that has Gtk
installed, but no perl.
>  
>
This is the kind of solution I was looking for.  I tried it
but no luck 
so far. The .exe gets build, but when it runds it dies with
a popup 
saying something about a function pointer that could not be
found in 
perl58.dll :(

Since I don't have a windows machine myself I'll probably
wait for the 
next user requesting the executable and have him look into
it.

Thanks!

-- Jaap <parduscpan.org>

_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )