Hi John, Good work :) Any chance you could publish the WiX files for this?
I haven't tried it yet, but based on the comments of others, and experience of my own with WiX in a complex product, here are my comments :-) - I think we have way too many PHP extensions to make a checkbox installation per extension a viable option. How do you handle upgrades--does the installer remember which options you checked last time? - It sounds like you're putting stuff in the registry. While that's "fine" if you only have one version of PHP installed, it will screw up people that need to run different versions at the same time. Can this be made optional? - Registering .php to run with php-win.exe. I feel nervous about this--it wouldn't take much for someone to create a malicious .php attachment and exploit some poor soul who has PHP installed; it should be made clear why you'd want to do it and why it might be dangerous. I don't know if you've covered it in your installer already, but you can also register PHP with the event logging infrastructure in windows so that syslog() messages look "nice" in the event log. This is quite simple to do; the windows build does this when you "nmake install". That's all for now; keep up the good work :) --Wez. On 7/24/06, John Mertic <[EMAIL PROTECTED]> wrote:
Hi there, With the guidance of Phil Driscoll, I have put together a new installer for PHP on Windows. It replicates much of the same functionality of his installer, but also boasts the following features: - Selective installation of all PHP components ( CGI and CLI exes, server modules, standard and PECL extensions ). - Configures the php.ini for the installation, including enabling the extensions the user selected to install. - Built as an MSI using Wix (http://wix.sourceforge.net) which is scriptable and open source so we can include the code to build the installer in cvs and automate building it. Also MSI Installers are very useful for Sys Admins since they integrate into Group Policies to allow unattended installation, and are better supported on Windows in general. Thanks to Edin Kadribasic, the public test version ( which installs a recent snapshot of PHP 5.2 ) is located at http://downloads.php.net/edink/php-5.2.0-win32-installer.msi. I am looking for feedback on the installer, namely in the following areas: - Default install options; what should the default install consist of? - Lite Installer. The current install file weighs in at 18mb. Would we want a lite installer with fewer components and if so what would those be? -- Later, John Mertic "Explaining a joke is like dissecting a frog: you [EMAIL PROTECTED] understand it better, but the frog dies in the process." -Mark Twain -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php