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); ?>