.add(new OptionPageElement("Install crawler?",null,"installCrawler", "0", new String[] {"yes, in this machine", "yes, in a remote machine", "no"}))
.add(new OptionPageElement("Install cacheServer?",null,"installCacheServer", "0", new String[] {"yes, in this machine", "yes, in a remote machine", "no"}))
.add(new OptionPageElement("Install monitorWeb?",null,"installMonitorWeb", "0", new String[] {"yes, in this machine", "yes, in a remote machine", "no"}));
searcherInstallRemote
.add(new PageElement("Searcher remote configuration", "Please tell us where you will install the searcher."))
.add(new InputPageElement("host", null, "host", "localhost"))
.add(new InputPageElement("base port", null, "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("base dir", null, "baseDir", DEFAULT_INSTALLATION_DIR));
indexerInstallRemote
.add(new PageElement("Indexer remote configuration", "Please tell us where you will install the indexer."))
.add(new InputPageElement("host", null, "host", "localhost"))
.add(new InputPageElement("base port", null, "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("base dir", null, "baseDir", DEFAULT_INSTALLATION_DIR));
crawlerInstallRemote
.add(new PageElement("Crawler remote configuration", "Please tell us where you will install the crawler."))
.add(new InputPageElement("host", null, "host", "localhost"))
.add(new InputPageElement("base port", null, "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("base dir", null, "baseDir", DEFAULT_INSTALLATION_DIR));
cacheServerInstallRemote
.add(new PageElement("Cache Server remote configuration", "Please tell us where you will install the crawler."))
.add(new InputPageElement("host", null, "host", "localhost"))
.add(new InputPageElement("base port", null, "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("base dir", null, "baseDir", DEFAULT_INSTALLATION_DIR));
clusteringWebInstallRemote
.add(new PageElement("Monitor Web remote configuration", "Please tell us where you will install the monitor web."))
.add(new InputPageElement("host", null, "host", "localhost"))
.add(new InputPageElement("base port", null, "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("base dir", null, "baseDir", DEFAULT_INSTALLATION_DIR));
// searcherInstall
// .add(new PageElement("Searcher configuration"));
// indexerInstall
// .add(new PageElement("Indexer configuration"));
// crawlerInstall
// .add(new PageElement("Crawler configuration"));
cacheServerInstall
.add(new PageElement("Cache Server configuration"))
.add(new InputPageElement("External host name", "users will access this through http, cannot be localhost", "host", "<replace>"));
thisMachinesName
.add(new InputPageElement("What's the name of this machine?", "Enter the machine name or IP address", "localhostName", "<replace>"));
copySSH
.add(new OptionPageElement(
"How do you wish to copy files to the remote machines?",
"You need to have SSH access without password to let the installer copy the files",
"method",
"0",
new String[]{"let the installer copy them via SSH", "give me some .tgz that I'll copy and decompress myself"}));
dirPortOptions
.add(new PageElement("Local installation port and path"))
.add(new InputPageElement("Base port", "Hounder uses a range of ports starting in one base port", "basePort", String.valueOf(PortUtil.getBasePort())))
.add(new InputPageElement("Base dir", "This is where Hounder will be installed in this machine. If it exists, it will be overwritten.", "path", installDir));
// installBaseOptions
// .add(new InputPageElement("Local installation path", "This is where Hounder will be installed in this machine. If it exists, it will be overwritten.", "path", installDir));
thisMachineAllInstall.setPreNextCallback(new Runnable() {