fix launcher on windows 64 bit.

This commit is contained in:
Jim Norman 2007-01-17 06:57:29 +00:00
parent de3e4457c3
commit dd07f3976d
2 changed files with 24 additions and 1 deletions

View File

@ -43,7 +43,12 @@ namespace launcher
private static string GetPathToCasaManager()
{
string targetDir = Environment.GetEnvironmentVariable("ProgramFiles");
string targetDir = Environment.GetEnvironmentVariable("ProgramFiles(x86)");
if ((targetDir == null) || (targetDir.Length == 0))
{
targetDir = Environment.GetEnvironmentVariable("ProgramFiles");
}
targetDir = targetDir + string.Format(@"\Novell\CASA\bin");
return targetDir;
}

View File

@ -67,6 +67,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jmicasa", "..\..\..\..\jwra
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.Casa.MiCasa", "..\..\..\..\sharp\Novell.Casa.MiCasa\Novell.Casa.MiCasa.csproj", "{7B56383F-6551-4BCD-81BB-A039BBECBD9C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "launcher", "..\..\..\..\launcher\launcher.csproj", "{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -580,6 +582,22 @@ Global
{7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU
{7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Win32.ActiveCfg = Release|Any CPU
{7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|x64.ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|ia64.ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|x64.ActiveCfg = Debug|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.Build.0 = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|ia64.ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Win32.ActiveCfg = Release|Any CPU
{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|x64.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE