diff --git a/setup/wizard/batches/lucene_install.bat b/setup/wizard/batches/lucene_install.bat
deleted file mode 100644
index 2d8216b..0000000
--- a/setup/wizard/batches/lucene_install.bat
+++ /dev/null
@@ -1 +0,0 @@
-"C:\Program Files\Zend\Apache2\htdocs\knowledgetree\bin\luceneserver\KTLuceneService.exe" -install "KTLuceneTest" "C:\Program Files\Java\jre6\bin\client\jvm.dll" -Djava.class.path="C:\Program Files\Zend\Apache2\htdocs\knowledgetree\bin\luceneserver\ktlucene.jar" -start com.knowledgetree.lucene.KTLuceneServer -out "C:\Program Files\Zend\Apache2\htdocs\knowledgetree\var\log\lucene-out.txt" -err "C:\Program Files\Zend\Apache2\htdocs\knowledgetree\var\log\lucene-err.txt" -current "C:\Program Files\Zend\Apache2\htdocs\knowledgetree\bin\luceneserver" -auto
\ No newline at end of file
diff --git a/setup/wizard/batches/lucene_start.bat b/setup/wizard/batches/lucene_start.bat
deleted file mode 100644
index 3cc5343..0000000
--- a/setup/wizard/batches/lucene_start.bat
+++ /dev/null
@@ -1 +0,0 @@
-sc start KTLuceneTest
\ No newline at end of file
diff --git a/setup/wizard/batches/lucene_uninstall.bat b/setup/wizard/batches/lucene_uninstall.bat
deleted file mode 100644
index 028e796..0000000
--- a/setup/wizard/batches/lucene_uninstall.bat
+++ /dev/null
@@ -1 +0,0 @@
-sc delete KTLuceneTest
\ No newline at end of file
diff --git a/setup/wizard/batches/scheduler_install.bat b/setup/wizard/batches/scheduler_install.bat
deleted file mode 100644
index e69de29..0000000
--- a/setup/wizard/batches/scheduler_install.bat
+++ /dev/null
diff --git a/setup/wizard/batches/scheduler_start.bat b/setup/wizard/batches/scheduler_start.bat
deleted file mode 100644
index fed9906..0000000
--- a/setup/wizard/batches/scheduler_start.bat
+++ /dev/null
@@ -1 +0,0 @@
-sc start KTSchedulerTest
\ No newline at end of file
diff --git a/setup/wizard/batches/scheduler_uninstall.bat b/setup/wizard/batches/scheduler_uninstall.bat
deleted file mode 100644
index 1058327..0000000
--- a/setup/wizard/batches/scheduler_uninstall.bat
+++ /dev/null
@@ -1 +0,0 @@
-sc delete KTSchedulerTest
\ No newline at end of file
diff --git a/setup/wizard/lib/system/config-path-mock b/setup/wizard/lib/system/config-path-mock
deleted file mode 100644
index e404185..0000000
--- a/setup/wizard/lib/system/config-path-mock
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/lib/knowledgetree
-/var/lib/knowledgetree/Documents
-/var/lib/knowledgetree/indexes
-/etc/knowledgetree/config.ini
-/var/log/knowledgetree
-/var/tmp/knowledgetree
-/var/tmp/knowledgetree/proxies
-/var/tmp/knowledgetree/uploads
-/var/tmp/knowledgetree/cache
\ No newline at end of file
diff --git a/setup/wizard/lib/system/config-path-mock-windows b/setup/wizard/lib/system/config-path-mock-windows
deleted file mode 100644
index 4018110..0000000
--- a/setup/wizard/lib/system/config-path-mock-windows
+++ /dev/null
@@ -1,9 +0,0 @@
-C:\ktdms\var
-C:\ktdms\config\config.ini
-C:\ktdms\log
-C:\ktdms\tmp
-C:\ktdms\var\Documents
-C:\ktdms\var\indexes
-C:\ktdms\var\proxies
-C:\ktdms\var\uploads
-C:\ktdms\var\cache
\ No newline at end of file
diff --git a/setup/wizard/lib/system/demo.sh b/setup/wizard/lib/system/demo.sh
deleted file mode 100755
index a62fb78..0000000
--- a/setup/wizard/lib/system/demo.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-rm ../../../../var/log/lucene.log;
-rm ../../../../var/log/scheduler.log;
-rm ../../../../var/log/openoffice.log;
-rm ../../../../setup/wizard/output/outJV;
-chmod 777 -R /var/lib/knowledgetree
-chmod 777 -R /var/log/knowledgetree
-chmod 777 -R /var/tmp/knowledgetree
-chmod 777 -R /var/lib/knowledgetree/Documents
-chmod 777 -R /var/lib/knowledgetree/indexes
-chmod 777 -R /var/lib/knowledgetree/proxies
-chmod 777 -R /var/lib/knowledgetree/uploads
diff --git a/setup/wizard/lib/system/executeCommand.class b/setup/wizard/lib/system/executeCommand.class
deleted file mode 100644
index f5876ff..0000000
--- a/setup/wizard/lib/system/executeCommand.class
+++ /dev/null
diff --git a/setup/wizard/lib/system/executeCommand.java b/setup/wizard/lib/system/executeCommand.java
deleted file mode 100644
index d9b8adb..0000000
--- a/setup/wizard/lib/system/executeCommand.java
+++ /dev/null
@@ -1,16 +0,0 @@
-import java.io.*;
-import java.lang.System;
-import java.util.Properties;
-
-public class executeCommand {
-
- public static void main(String args[]) throws Exception {
- String command = args[0];
- try {
- // Execute a command without arguments
- Process child = Runtime.getRuntime().exec(command);
- } catch (IOException e) {
- System.err.println("Error: " + e.getMessage());
- }
- }
-}
diff --git a/setup/wizard/lib/system/javaVersion.class b/setup/wizard/lib/system/javaVersion.class
deleted file mode 100644
index c10bfab..0000000
--- a/setup/wizard/lib/system/javaVersion.class
+++ /dev/null
diff --git a/setup/wizard/lib/system/javaVersion.java b/setup/wizard/lib/system/javaVersion.java
deleted file mode 100644
index 83e1dc4..0000000
--- a/setup/wizard/lib/system/javaVersion.java
+++ /dev/null
@@ -1,29 +0,0 @@
-import java.io.*;
-import java.lang.System;
-import java.util.Properties;
-
-public class javaVersion {
- public static void main(String args[]) throws Exception {
- String outJV = args[0];
- String outJVHome = args[1];
- Properties sysProps = new Properties();
- sysProps = System.getProperties();
- String sysVersion = sysProps.getProperty("java.version");
- String javaHome = sysProps.getProperty("java.home");
- try{
- // Create file
- FileWriter fstream = new FileWriter(outJV);
- BufferedWriter out = new BufferedWriter(fstream);
- out.write(sysVersion);
- //Close the output stream
- out.close();
- fstream = new FileWriter(outJVHome);
- out = new BufferedWriter(fstream);
- out.write(javaHome);
- //Close the output stream
- out.close();
- } catch (Exception e){//Catch exception if any
- System.err.println("Error: " + e.getMessage());
- }
- }
-}
\ No newline at end of file
diff --git a/setup/wizard/lib/system/openOffice.class b/setup/wizard/lib/system/openOffice.class
deleted file mode 100644
index e8bcf22..0000000
--- a/setup/wizard/lib/system/openOffice.class
+++ /dev/null
diff --git a/setup/wizard/lib/system/openOffice.java b/setup/wizard/lib/system/openOffice.java
deleted file mode 100644
index 04bd38c..0000000
--- a/setup/wizard/lib/system/openOffice.java
+++ /dev/null
@@ -1,18 +0,0 @@
-import java.io.*;
-import java.lang.System;
-import java.util.Properties;
-
-public class openOffice {
-
- public static void main(String args[]) throws Exception {
- String openoffice = args[0];
- try {
- // Execute a command without arguments
- String command = ""+openoffice+" -nofirststartwizard -nologo -headless -accept=\"socket,host=localhost,port=8100;urp;StarOffice.ServiceManager\"";
- Process child = Runtime.getRuntime().exec(command);
- System.out.println(command);
- } catch (IOException e) {
- System.err.println("Error: " + e.getMessage());
- }
- }
-}
diff --git a/setup/wizard/lib/system/perms.sh b/setup/wizard/lib/system/perms.sh
deleted file mode 100644
index 9d0cb7c..0000000
--- a/setup/wizard/lib/system/perms.sh
+++ /dev/null
@@ -1 +0,0 @@
-sudo chown -R www-data:www-data /var/lib/knowledgetree-ce /var/lib/knowledgetree-ce/Documents /var/lib/knowledgetree-ce/indexes /etc/knowledgetree-ce/config.ini /var/log/knowledgetree-ce /var/tmp/knowledgetree-ce /var/tmp/knowledgetree-ce/proxies /var/tmp/knowledgetree-ce/uploads /var/tmp/knowledgetree-ce/cache /usr/share/knowledgetree-ce/var/ /usr/share/knowledgetree-ce/config/
\ No newline at end of file
diff --git a/setup/wizard/lib/system/phpinfo.php b/setup/wizard/lib/system/phpinfo.php
deleted file mode 100644
index ccddb96..0000000
--- a/setup/wizard/lib/system/phpinfo.php
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/setup/wizard/lib/system/soffice.php b/setup/wizard/lib/system/soffice.php
deleted file mode 100644
index 593d803..0000000
--- a/setup/wizard/lib/system/soffice.php
+++ /dev/null
@@ -1,97 +0,0 @@
- /dev/null &";
- $res = pexec($cmd);
- print_r($res);
-/**
- * Portably execute a command on any of the supported platforms.
- *
- * @author KnowledgeTree Team
- * @access public
- * @param string $aCmd
- * @param array $aOptions
- * @return array
- */
- function pexec($aCmd, $aOptions = null) {
- if (is_array($aCmd)) {
- $sCmd = safeShellString($aCmd);
- } else {
- $sCmd = $aCmd;
- }
- $sAppend = arrayGet($aOptions, 'append');
- if ($sAppend) {
- $sCmd .= " >> " . escapeshellarg($sAppend);
- }
- $sPopen = arrayGet($aOptions, 'popen');
- if ($sPopen) {
- if (WINDOWS_OS) {
- $sCmd = "start /b \"kt\" " . $sCmd;
- }
- return popen($sCmd, $sPopen);
- }
- // for exec, check return code and output...
- $aRet = array();
- $aOutput = array();
- $iRet = '';
- //if(WINDOWS_OS) {
- // $sCmd = 'call '.$sCmd;
- // }
-
- exec($sCmd, $aOutput, $iRet);
- $aRet['ret'] = $iRet;
- $aRet['out'] = $aOutput;
-
- return $aRet;
- }
-
- /**
- *
- *
- * @author KnowledgeTree Team
- * @access public
- * @return string
- */
- function arrayGet($aArray, $sKey, $mDefault = null, $bDefaultIfEmpty = true) {
- if (!is_array($aArray)) {
- $aArray = (array) $aArray;
- }
-
- if ($aArray !== 0 && $aArray !== '0' && empty($aArray)) {
- return $mDefault;
- }
- if (array_key_exists($sKey, $aArray)) {
- $mVal =& $aArray[$sKey];
- if (empty($mVal) && $bDefaultIfEmpty) {
- return $mDefault;
- }
- return $mVal;
- }
- return $mDefault;
- }
-
- /**
- *
- *
- * @author KnowledgeTree Team
- * @access public
- * @return string
- */
- function safeShellString () {
- $aArgs = func_get_args();
- $aSafeArgs = array();
- if (is_array($aArgs[0])) {
- $aArgs = $aArgs[0];
- }
- $aSafeArgs[] = escapeshellarg(array_shift($aArgs));
- if (is_array($aArgs[0])) {
- $aArgs = $aArgs;
- }
- foreach ($aArgs as $sArg) {
- if (empty($sArg)) {
- $aSafeArgs[] = "''";
- } else {
- $aSafeArgs[] = escapeshellarg($sArg);
- }
- }
- return join(" ", $aSafeArgs);
- }
-?>
diff --git a/setup/wizard/lib/system/start.sh b/setup/wizard/lib/system/start.sh
deleted file mode 100755
index 55554f8..0000000
--- a/setup/wizard/lib/system/start.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/soffice -nofirststartwizard -nologo -headless -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" &> /dev/null &
diff --git a/setup/wizard/lib/system/systemCheck.php b/setup/wizard/lib/system/systemCheck.php
deleted file mode 100644
index 3e6fd4f..0000000
--- a/setup/wizard/lib/system/systemCheck.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
\ No newline at end of file
diff --git a/setup/wizard/lib/tests/configurationStep.php b/setup/wizard/lib/tests/configurationStep.php
deleted file mode 100644
index f63cb05..0000000
--- a/setup/wizard/lib/tests/configurationStep.php
+++ /dev/null
@@ -1,65 +0,0 @@
-.
-*
-* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
-* California 94120-7775, or email info@knowledgetree.com.
-*
-* The interactive user interfaces in modified source and object code versions
-* of this program must display Appropriate Legal Notices, as required under
-* Section 5 of the GNU General Public License version 3.
-*
-* In accordance with Section 7(b) of the GNU General Public License version 3,
-* these Appropriate Legal Notices must retain the display of the "Powered by
-* KnowledgeTree" logo and retain the original copyright notice. If the display of the
-* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
-* must display the words "Powered by KnowledgeTree" and retain the original
-* copyright notice.
-*
-* @copyright 2008-2009, KnowledgeTree Inc.
-* @license GNU General Public License version 3
-* @author KnowledgeTree Team
-* @package Installer
-* @version Version 0.1
-*/
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if($func != '' && $func != 'installer') {
- require_once("../iniUtilities.php");
- require_once("../step.php");
- require_once("../path.php");
- require_once("../dbUtilities.php");
- require_once("../installUtil.php");
- }
-}
-
-class configurationStep {
-
-}
-
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if($func != '' && $func != 'installer') {
- $serv = new configuration();
- $func_call = strtoupper(substr($func,0,1)).substr($func,1);
- $method = "do$func_call";
- $serv->$method();
- }
-}
-?>
\ No newline at end of file
diff --git a/setup/wizard/lib/tests/databaseStep.php b/setup/wizard/lib/tests/databaseStep.php
deleted file mode 100644
index ac04c1e..0000000
--- a/setup/wizard/lib/tests/databaseStep.php
+++ /dev/null
@@ -1,75 +0,0 @@
-.
-*
-* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
-* California 94120-7775, or email info@knowledgetree.com.
-*
-* The interactive user interfaces in modified source and object code versions
-* of this program must display Appropriate Legal Notices, as required under
-* Section 5 of the GNU General Public License version 3.
-*
-* In accordance with Section 7(b) of the GNU General Public License version 3,
-* these Appropriate Legal Notices must retain the display of the "Powered by
-* KnowledgeTree" logo and retain the original copyright notice. If the display of the
-* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
-* must display the words "Powered by KnowledgeTree" and retain the original
-* copyright notice.
-*
-* @copyright 2008-2009, KnowledgeTree Inc.
-* @license GNU General Public License version 3
-* @author KnowledgeTree Team
-* @package Installer
-* @version Version 0.1
-*/
-
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if($func != '') {
- require_once("../step.php");
- require_once("../installUtil.php");
- require_once("../path.php");
- require_once("../dbUtilities.php");
- }
-}
-
-class databaseStep {
-
- public function doCreateSchema() {
- $this->dhost = '127.0.0.1';
- $this->duname = 'root';
- $this->dpassword = 'root';
- $this->dname = 'dms_install';
- $this->dbbinary = 'mysql';
- $this->util->dbUtilities->load($this->dhost, '', $this->duname, $this->dpassword, $this->dname);
- $this->createSchema();
- echo 'Schema loaded
';
- }
-}
-
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if($func != '') {
- $serv = new database();
- $func_call = strtoupper(substr($func,0,1)).substr($func,1);
- $method = "do$func_call";
- $serv->$method();
- }
-}
-?>
\ No newline at end of file
diff --git a/setup/wizard/lib/tests/servicesStep.php b/setup/wizard/lib/tests/servicesStep.php
deleted file mode 100644
index ced445c..0000000
--- a/setup/wizard/lib/tests/servicesStep.php
+++ /dev/null
@@ -1,118 +0,0 @@
-.
-*
-* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
-* California 94120-7775, or email info@knowledgetree.com.
-*
-* The interactive user interfaces in modified source and object code versions
-* of this program must display Appropriate Legal Notices, as required under
-* Section 5 of the GNU General Public License version 3.
-*
-* In accordance with Section 7(b) of the GNU General Public License version 3,
-* these Appropriate Legal Notices must retain the display of the "Powered by
-* KnowledgeTree" logo and retain the original copyright notice. If the display of the
-* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
-* must display the words "Powered by KnowledgeTree" and retain the original
-* copyright notice.
-*
-* @copyright 2008-2009, KnowledgeTree Inc.
-* @license GNU General Public License version 3
-* @author KnowledgeTree Team
-* @package Installer
-* @version Version 0.1
-*/
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if($func != '') {
- require_once(WIZARD_DIR. "step.php");
- require_once(WIZARD_DIR. "installUtil.php");
- require_once(WIZARD_DIR. "path.php");
- require_once(WIZARD_DIR. "dbUtilities.php");
- }
-}
-
-class servicesStep {
- /** External Access **/
- public function doDeleteAll() {
- $serverDetails = $this->getServices();
- foreach ($serverDetails as $serviceName) {
- $className = OS.$serviceName;
- require_once("../lib/services/service.php");
- require_once("../lib/services/".OS."Service.php");
- require_once("../lib/services/$className.php");
- $service = new $className();
- $service->uninstall();
- echo "Delete Service {$service->getName()}
";
- echo "Status of service ".$service->status()."
";
- }
- }
-
- public function doInstallAll() {
- $serverDetails = $this->getServices();
- if(!empty($serverDetails)) {
- require_once("../lib/validation/serviceValidation.php");
- require_once("../lib/services/service.php");
- }
- foreach ($serverDetails as $serviceName) {
- $className = OS.$serviceName;
- $serv = strtolower($serviceName); // Linux Systems.
- require_once("../lib/services/".OS."Service.php");
- require_once("../lib/validation/$serv"."Validation.php");
- require_once("../lib/services/$className.php");
- $service = new $className();
- $class = strtolower($serviceName)."Validation";
- $vClass = new $class();
- $passed = $vClass->binaryChecks(); // Run Binary Pre Checks
- $service->load(array('binary'=>$passed));
- $service->install();
- echo "Install Service {$service->getName()}
";
- echo "Status of service ".$service->status()."
";
- }
- }
-
- public function doStatusAll() {
- $serverDetails = $this->getServices();
- foreach ($serverDetails as $serviceName) {
- $className = OS.$serviceName;
- require_once("../lib/services/service.php");
- require_once("../lib/services/".OS."Service.php");
- require_once("../lib/services/$className.php");
- $service = new $className();
- $service->load();
- echo "{$service->getName()} : Status of service = ".$service->status()."
";
- }
- }
-}
-
-if(isset($_GET['action'])) {
- $func = $_GET['action'];
- if(isset($_GET['debug'])) {
- define('DEBUG', $_GET['debug']);
- } else {
- define('DEBUG', 0);
- }
- if($func != '') {
- $serv = new services();
- $func_call = strtoupper(substr($func,0,1)).substr($func,1);
- $method = "do$func_call";
- $serv->$method();
- }
-}
-?>
\ No newline at end of file
diff --git a/setup/wizard/lib/tests/tests.php b/setup/wizard/lib/tests/tests.php
deleted file mode 100644
index f2ed68b..0000000
--- a/setup/wizard/lib/tests/tests.php
+++ /dev/null
@@ -1,42 +0,0 @@
-.
-*
-* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
-* California 94120-7775, or email info@knowledgetree.com.
-*
-* The interactive user interfaces in modified source and object code versions
-* of this program must display Appropriate Legal Notices, as required under
-* Section 5 of the GNU General Public License version 3.
-*
-* In accordance with Section 7(b) of the GNU General Public License version 3,
-* these Appropriate Legal Notices must retain the display of the "Powered by
-* KnowledgeTree" logo and retain the original copyright notice. If the display of the
-* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
-* must display the words "Powered by KnowledgeTree" and retain the original
-* copyright notice.
-*
-* @copyright 2008-2009, KnowledgeTree Inc.
-* @license GNU General Public License version 3
-* @author KnowledgeTree Team
-* @package Installer
-* @version Version 0.1
-*/
-
-?>
\ No newline at end of file