30 using Microsoft.Win32;
32 namespace LaunchSLClient
36 public override void GetClient(ref
string exePath, ref
string runLine, ref
string exeFlags)
38 RegistryKey regKey = Registry.LocalMachine.OpenSubKey(
@"SOFTWARE\Linden Research, Inc.\SecondLife");
41 regKey = Registry.LocalMachine.OpenSubKey(
@"SOFTWARE\Wow6432Node\Linden Research, Inc.\SecondLife");
44 throw new LauncherException(
"Can't find Second Life. Are you sure it is installed?",
"LauncherException.Form1");
47 string exe = regKey.GetValue(
"Exe").ToString();
48 exeFlags = regKey.GetValue(
"Flags").ToString();
49 exePath = regKey.GetValue(
"").ToString();
50 runLine = Path.Combine(exePath, exe);
51 Registry.LocalMachine.Flush();
52 Registry.LocalMachine.Close();
57 RegistryKey
key = Registry.LocalMachine.OpenSubKey(
@"SOFTWARE\OpenSim\OpenSim");
65 return key.GetValue(
"Path").ToString();
override string GetConfigDir()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString key
override void GetClient(ref string exePath, ref string runLine, ref string exeFlags)