RE: [PHP-GTK] Re: [slightly OT] Re: [PHP-GTK] how to make installable of PHP_GTK apps
| From: | Andrew Braund | Date: | Wed, 27 Mar 2002 03:23:22 +0000 |
| Subject: | RE: [PHP-GTK] Re: [slightly OT] Re: [PHP-GTK] how to make installable of PHP_GTK apps | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1656@lists.php.net to get a copy of this message | ||
> From: J Wynia [mailto:letterj@phpgeek.com]
> I would recommend using NSIS (http://www.nullsoft.com/free/nsis/). I use it
> for PHPTriad and it works remarkably well. Each installation is configured
> through a text file.
NSIS looks interesting, their List of NSIS users is
impressive (and includes phpgtk!).
Last October I sent an email to the php-gtk list about a Windows installer
using Inno Setup (available from http://www.innosetup.com/).
It didn't seem to go anywhere but now that it has come up again I thought
I would update it to php-gtk-0.5.0 and try again.
I have put a setup.exe generated by the install script at
http://203.2.75.30/~abraund/php-gtk-setup.exe
if you want to try it out.
The source is at the bottom of this message.
(I extracted php-gtk-0.5.0-win32.zip to c:\php4gtk and that is where
the installer expects to find the files).
I would be very interested in any comparison between this Inno Setup
package and one created with NSIS. I think it would be very good
to have a simple installer for windows so people could try out
php-gtk very easily, then when they discover what it can do I am
sure they will be happy to invest some time in learning about it.
I think it would be great to reduce the initial "try it out" difficulty.
Regards
Andrew Braund
Note;
The readme.txt in php-gtk-0.5.0-win32.zip says that the examples
are in samples (which they were in 0.1.1a) but they are actually now
in test.
======================8<=============================8<=====================
; There is no copyright on this. PHP-GTK people can replace this with
; whatever they like. Andrew Braund 27 Mar 2002
[Setup]
AppName=PHP-GTK
AppVerName=PHP-GTK V0.5.0
AppPublisherURL=http://www.gtk.php.net
AppSupportURL=http://www.gtk.php.net
AppUpdatesURL=http://www.gtk.php.net
DefaultDirName={pf}\PHP-GTK
DefaultGroupName=PHP-GTK
InfoAfterFile=C:\php4gtk\README.txt
; uncomment the following line if you want your installation to run on NT 3.51
too.
; MinVersion=4,3.51
[Tasks]
Name: desktopicon; Description: Create a &desktop icon; GroupDescription:
Additional icons:; MinVersion: 4,4
[Files]
Source: C:\php4gtk\readme.txt; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\php4\php.exe; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\php4\php_gtk.dll; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\php4\php_gtk_libglade.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\php4\php_gtk_sqpane.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\php4\php_win.exe; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\php4\php4isapi.dll; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\php4\php4ts.dll; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\winnt\php.ini; DestDir: {app}; CopyMode: alwaysoverwrite
Source: C:\php4gtk\winnt\system32\gdk-1.3.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\glib-1.3.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\gmodule-1.3.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\gnu-intl.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\gtk-1.3.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\iconv-1.3.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\libglade-0.14.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\winnt\system32\libxml.dll; DestDir: {app}; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\hello.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\scribble.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\list.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\fileselection.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\gtk.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\radio.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\button.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
Source: C:\php4gtk\test\mysql.php; DestDir: {app}\samples; CopyMode:
alwaysoverwrite
[Icons]
Name: {group}\readme; Filename: {app}\readme.txt; WorkingDir: {app}; IconIndex: 0
Name: {group}\samples\hello; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/hello.php
Name: {group}\samples\scribble; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/scribble.php; IconIndex: 0
Name: {group}\samples\list; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/list.php
Name: {group}\samples\fileselection; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/fileselection.php; IconIndex: 0
Name: {group}\samples\gtk; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/gtk.php
Name: {group}\samples\radio; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/radio.php; IconIndex: 0
Name: {group}\samples\button; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/button.php; IconIndex: 0
Name: {group}\samples\mysql; Filename: {app}\php.exe; WorkingDir: {app};
Parameters: -q samples/mysql.php
[Run]
Filename: {app}\php.exe; Description: Launch PHP-GTK Hello; WorkingDir: {app};
Parameters: -q samples/hello.php; Flags: nowait postinstall skipifsilent
======================8<=============================8<=====================