/[AnywhereTS-MSSQL]/trunk/TSAdminTool/Globals.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/Globals.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 148 by william, Sat Jul 14 09:08:55 2012 UTC revision 149 by william, Sun Jul 15 11:21:36 2012 UTC
# Line 100  namespace AnywhereTS Line 100  namespace AnywhereTS
100    
101              helpFile = "AnywhereTS.chm"; // The ATS help file              helpFile = "AnywhereTS.chm"; // The ATS help file
102    
103              if (GetATSRegValueInt(strRegRunFirstTime) == 1)              //if (GetATSRegValueInt(strRegRunFirstTime) == 1)
104              {   // We are runnning this version for the first time, write the needed registry values              //{   // We are runnning this version for the first time, write the needed registry values
105                  CreateRegistryValues();              //    CreateRegistryValues();
106              }              //}
107    
108              strExecPath = Path.GetDirectoryName(Application.ExecutablePath);              strExecPath = Path.GetDirectoryName(Application.ExecutablePath);
109    
# Line 128  namespace AnywhereTS Line 128  namespace AnywhereTS
128              SelectedGraphicsAdaptersFile = GraphicsAdaptersA;              SelectedGraphicsAdaptersFile = GraphicsAdaptersA;
129              SelectedNicAdaptersFile = NicAdaptersA;              SelectedNicAdaptersFile = NicAdaptersA;
130              SelectedSoundAdaptersFile = SoundAdaptersA;              SelectedSoundAdaptersFile = SoundAdaptersA;
131    
132                ProSupport.strDatabaseServer = GetATSRegValueString(ProSupport.strRegDatabaseServer);
133                ProSupport.strDatabaseInstance = GetATSRegValueString(ProSupport.strRegDatabaseInstance);
134    
135              Logging.ATSAdminLog.Debug("Leaving ATSGlobals()");              Logging.ATSAdminLog.Debug("Leaving ATSGlobals()");
136    
137          }          }
# Line 716  namespace AnywhereTS Line 720  namespace AnywhereTS
720              CreateRegistryValue(strATSregRoot, ProSupport.strRegAnywhereTSServer, "");              CreateRegistryValue(strATSregRoot, ProSupport.strRegAnywhereTSServer, "");
721              CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseDir, "");                          CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseDir, "");            
722              CreateRegistryValue(strATSregRoot, ProSupport.strRegDestDir, "");              CreateRegistryValue(strATSregRoot, ProSupport.strRegDestDir, "");
723              CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseServer, AnywhereTS.DBSupport.Properties.Settings.Default.DBServer);              CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseServer, ProSupport.strDatabaseServer);
724              CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseInstance, AnywhereTS.DBSupport.Properties.Settings.Default.DBInstance);              CreateRegistryValue(strATSregRoot, ProSupport.strRegDatabaseInstance, ProSupport.strDatabaseInstance);
725                            
726    
727              CreateRegistryValue(strATSregRoot, strRegDHCPconfig , 0);              CreateRegistryValue(strATSregRoot, strRegDHCPconfig , 0);

Legend:
Removed from v.148  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.22