private function createInstaller($files)
	{
		$this->say("Creating library installer");

		$xmlFile = $this->target . "/" . $this->libName . ".xml";

		// Version & Date Replace
		$this->replaceInFile($xmlFile);

		// Files and folders
		$f = $this->generateFileList($files);

		$this->taskReplaceInFile($xmlFile)
			->from('##LIBRARYFILES##')
			->to($f)
			->run();

		// Language backend files
		$f = $this->generateLanguageFileList($this->getFiles('backendLanguage'));

		$this->taskReplaceInFile($xmlFile)
			->from('##BACKEND_LANGUAGE_FILES##')
			->to($f)
			->run();

		// Language frontend files
		$f = $this->generateLanguageFileList($this->getFiles('frontendLanguage'));

		$this->taskReplaceInFile($xmlFile)
			->from('##FRONTEND_LANGUAGE_FILES##')
			->to($f)
			->run();

		// Media files
		$f = $this->generateFileList($this->getFiles('media'));

		$this->taskReplaceInFile($xmlFile)
			->from('##MEDIA_FILES##')
			->to($f)
			->run();
	}