From 58ef357cbf74216629aa3baa470889104eff0de8 Mon Sep 17 00:00:00 2001 From: Tleiades Hax Date: Tue, 16 Oct 2007 05:20:45 +0000 Subject: Added support for 64 bit windows --- OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim') 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 regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife"); if (regKey == null) { - throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1"); + regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Linden Research, Inc.\SecondLife"); + if (regKey == null) + { + throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1"); + } } Object exe = regKey.GetValue("Exe"); exeFlags = regKey.GetValue("Flags"); -- cgit v1.1