aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tools')
-rw-r--r--OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
index 619f6de..38c5435 100644
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
+++ b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
@@ -71,7 +71,11 @@ namespace LaunchSLClient
71 regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife"); 71 regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife");
72 if (regKey == null) 72 if (regKey == null)
73 { 73 {
74 throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1"); 74 regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Linden Research, Inc.\SecondLife");
75 if (regKey == null)
76 {
77 throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1");
78 }
75 } 79 }
76 Object exe = regKey.GetValue("Exe"); 80 Object exe = regKey.GetValue("Exe");
77 exeFlags = regKey.GetValue("Flags"); 81 exeFlags = regKey.GetValue("Flags");