[Phpfreechat-svn] SF.net SVN: phpfreechat: [796] trunk/misc/createwebinstaller.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-09-26 19:07:44
|
Revision: 796 http://svn.sourceforge.net/phpfreechat/?rev=796&view=rev Author: kerphi Date: 2006-09-26 12:07:34 -0700 (Tue, 26 Sep 2006) Log Message: ----------- [en] The setup generator is now integrated to the command line process (many thanks to awright and his great webinstall project : http://sourceforge.net/projects/webinstall) [30min] [fr] Le generateur de setup est maintenant integr?\195?\169 directement dans le processus de generation automatique de release en ligne de commande (merci beaucoup ?\195?\160 awright et a son superbe webinstall : http://sourceforge.net/projects/webinstall) [30min] Modified Paths: -------------- trunk/misc/createwebinstaller.php Modified: trunk/misc/createwebinstaller.php =================================================================== --- trunk/misc/createwebinstaller.php 2006-09-26 16:35:31 UTC (rev 795) +++ trunk/misc/createwebinstaller.php 2006-09-26 19:07:34 UTC (rev 796) @@ -4,15 +4,16 @@ $archivename = 'phpfreechat-'.$version.'-setup.php'; $pfcpath = dirname(__FILE__).'/phpfreechat-'.$version; if (!file_exists($pfcpath)) die("Dont find the directory $pfcpath"); -$phpinstaller_path = realpath(dirname(__FILE__).'/../contrib/phpinstaller'); +$phpinstaller_path = realpath(dirname(__FILE__).'/../contrib/installer.beta-5.1'); include($phpinstaller_path.'/engine.inc.php'); $phpi = new phpInstaller(); -$phpi->dataDir($phpinstaller_path.'/engene_data'); +$phpi->dataDir($phpinstaller_path.'/engine_data'); $phpi->appName = 'phpFreeChat'; $phpi->appVersion = $version; $phpi->addMetaFile('ss',$phpinstaller_path.'/createinstaller/data/installer.css','text/css') or die('Can not find stylesheet'); $phpi->ignore[] = '.svn'; +$phpi->addPage('Pre-Install Check',file_get_contents($phpinstaller_path.'/createinstaller/data/precheck.inc')); $phpi->addInstallerPages(); $phpi->addPath($pfcpath); $phpi->generate($archivename); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |