PHP-GTK installer
| From: | Andrew Braund | Date: | Fri, 12 Oct 2001 23:44:45 +0000 |
| Subject: | PHP-GTK installer | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-116@lists.php.net to get a copy of this message | ||
I have created a Windows installer using Inno Setup
(available from http://www.innosetup.com/)
The source is at the bottom of this message.
I extracted your php-gtk-0.1.1a-win32.zip to c:\php4gtk and that is where
the installer expects to find the files.
If this is of any interest to you please feel free to use it and treat it as your
own.
I have put an install .exe generated by the install script at
http://203.2.75.30/~abraund/php-gtk_setup.exe
if you want to try it out.
Regards
Andrew Braund
; There is no copyright on this. PHP-GTK people can replace this with
; whatever they like. Andrew Braund 13 Oct 2001
[Setup]
AppName=PHP-GTK
AppVerName=PHP-GTK V0.1.1a
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_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: "{win}"; CopyMode: alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\gdk-1.3.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\glib-1.3.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\gmodule-1.3.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\gnu-intl.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\gtk-1.3.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\iconv-1.3.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\libglade-0.14.dll"; DestDir: "{sys}";
CopyMode: alwaysoverwrite
Source: "C:\php4gtk\winnt\system32\libxml.dll"; DestDir: "{sys}"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\hello.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\scribble.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\list.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\fileselection.php"; DestDir: "{app}\samples";
CopyMode: alwaysoverwrite
Source: "C:\php4gtk\samples\gtk.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\button.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
Source: "C:\php4gtk\samples\mysql.php"; DestDir: "{app}\samples"; CopyMode:
alwaysoverwrite
[Icons]
Name: "{group}\readme"; Filename: "{app}\readme.txt" ; WorkingDir:
"{app}";
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"
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"
Name: "{group}\samples\gtk"; Filename: "{app}\php.exe" ; WorkingDir:
"{app}";
Parameters: "-q samples/gtk.php"
Name: "{group}\samples\button"; Filename: "{app}\php.exe" ; WorkingDir:
"{app}";
Parameters: "-q samples/button.php"
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