Exemplo n.º 1
0
 private bool CreateVirtualDirectory()
 {
     try
     {
         VirtualDirectoryHelper helper = new VirtualDirectoryHelper();
         helper.Connect();
         helper.CreateVirtualDirectory("CrawlWave.Server", "CrawlWave.Server", Globals.GetAppPath());
         //helper.DeleteVirtualDirectory("CrawlWaveTest", Globals.GetAppPath());
     }
     catch (Exception e)
     {
         MessageBox.Show("An error occured while creating the Server's Virtual Directory: " + e.Message, "CrawlWave Server Installer", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 private bool CreateVirtualDirectory()
 {
     try
     {
         VirtualDirectoryHelper helper = new VirtualDirectoryHelper();
         helper.Connect();
         helper.CreateVirtualDirectory("CrawlWave.Server", "CrawlWave.Server", Globals.GetAppPath());
         //helper.DeleteVirtualDirectory("CrawlWaveTest", Globals.GetAppPath());
     }
     catch(Exception e)
     {
         MessageBox.Show("An error occured while creating the Server's Virtual Directory: " + e.Message, "CrawlWave Server Installer", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return false;
     }
     return true;
 }