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

[email protected] (Bob Majdak Jr)
Newsgroups php.gtk.general
Organization KateOS
Message-ID <[email protected]>
I know when I give an app to a client, I usually say:

	here is gnope. you have never installed it before
	so run it once and forget about it. here is your
	program. double click the phpw file just like your
	exe files.

And then they are ready to run any phpw file ever, and my programs do not look bloated as a 11MB 
installer file for simple rapid dev apps. Gnope does, and thats a one time use and then flushable 
exe installer.

 > That would be only for the first installation. Updates
 > will not require a new php/gtk installation. You just
 > release "patches" with the new code (around 30KB). That
 > would work just like Firefox or Thunderbird (a large
 > runtime environment with a small amount of XUL code,
 > very small updates).

I am not sure how you get this idea, because to update php.exe you also have to replace the dll 
extensions. It is not a small matter to update PHP, they have /not/ made our lives easy with a 
patching system like Mozilla (which does not even seem to work on Linux, Thunderbird always 
downloads 10.2mb updates for me). Updating your program might be this easy, but not updating PHP and 
PHP-GTK for every single program you have installed.

This would literally make every developer using PHP-GTK responsible for maintaining their own 
distribution of PHP-GTK which would be messy.

- bob.

Mr. Dreadsoft wrote:
> Anant Narayanan wrote:
>> I'm not a Windows person, but I think we (as in the PHP-GTK 
>> developers) ought to agree upon *one standard location* for PHP-GTK to 
>> reside in. That may not be practically possible, as users may want to 
>> install PHP-GTK in customized locations, but the problem can be solved 
>> by creating a registry key upon installation which stores the location 
>> of the installed PHP-GTK binaries. After this, we could release a tiny 
>> helper-app that developers using PHP-GTK could use to build their 
>> installers. All that installer would really contain is the source code 
>> of the program itself and some code to retrieve the registry entry and 
>> set the PATHs correctly.
>>
>> Any developers using PHP-GTK who choose not to use our helper-app to 
>> release (windows versions) of their software lose out on the convenience.
>>
>> How feasible is this?
> 
> 
> Ok, I tried a different approach: just try this demo app
> 
> http://www.dreadsoft.org/php-gtk/demoapplication.zip (less than 90 KB)
> 
> source script here
> 
> http://www.dreadsoft.org/php-gtk/piggie.zip (2 KB)
> 
> once launched, the installer looks for php-gtk installations (searching 
> php-gtk2.dll)
> 
> If not found will ask to download it.
> 
> 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.