Re: [PHP-GTK] PHP-GTK Standalone Kit

[email protected] ("Mr. Dreadsoft")
Newsgroups php.gtk.general
Message-ID <[email protected]>
Simon Wheeler wrote:
> Elizabeth Smith wrote:
> >> The issue isn't "is php-gtk worth it" it's "do we need yet another 
> [windows] installer that does things its own way"
>
>
> No, but we do need some published standards to follow.
>
> I avoid standards.
> Non-the less there should be a standard *published* schema for win32 
> php-gtk essentials
>
> I avoid messing with anyones registry
> Non-the less its the perfect place to keep such information, both php, 
> NSIS and other popular installers can access this data.
>
> SO: as a developer packaging my wares I should be able to check
>
> a) if & where PHP is installed (because I know where to look ...I 
> don't want to have to search)

some installing systems like NSIS can search for existing php-gtk 
installations. For example, a developer may have a "standard" php-gtk 
installation and another "alpha" installation for testing purposes.

> b) what php-gtk specific extensions are available if my install 
> depends on them (glade etc)
> c) what the installed file-association is (.phpw (I like .phpx))
I think a standard name and extension would be useful, like

- .phpw  php-gtk script

> d) what the php version is.
> e) where the default (php-gtk) php.ini is

>
> In fact one could pre-package an NSIS installer config file that would 
> also include e.g. the win32 version of wget (which is  quite small) 
> and if php-gtk is not installed (in the correct place) it could 
> download and install a php-gtk team sanctioned installer, install 
> php-gtk then continue with the original application.
>
> WIth such a distributed pre-configuration for popular installers 
> developers only need add their application folder to the NSIS build 
> tree and voila their app is wrapped and ready.
>
> Vista's pointless UAC will complain as would the SP2 or 3rd party 
> firewall about wget but there is not a lot one could do about that.

btw, NSIS can use its own download functions (nsisdl.dll functions), so 
wget is not necessary. Anyhow, it would be interesting in a 
cross-platform installer.

> This is something that really needs to be sorted out though.
>
> If some basic standards can be agreed on then the rest is really quite 
> straightforward.
or a standard directory structure, at least for php, extensions, gtk.

Marco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.