[Mobies-commit] [commit] r3758 - UDM/trunk/src/UIntWizVS

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Thu Jun 16 17:15:06 CDT 2011


Author: ksmyth
Date: Thu Jun 16 17:15:05 2011
New Revision: 3758

Log:
-F

Added:
   UDM/trunk/src/UIntWizVS/setup100.js
      - copied, changed from r3757, UDM/trunk/src/UIntWizVS/setup90.js

Copied and modified: UDM/trunk/src/UIntWizVS/setup100.js (from r3757, UDM/trunk/src/UIntWizVS/setup90.js)
==============================================================================
--- UDM/trunk/src/UIntWizVS/setup90.js	Thu Jun  9 14:42:29 2011	(r3757, copy source)
+++ UDM/trunk/src/UIntWizVS/setup100.js	Thu Jun 16 17:15:05 2011	(r3758)
@@ -74,26 +74,26 @@
 
 	try
 	{
-		var strVC9Key = "HKLM\\Software\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir";
-		strValue = WSShell.RegRead(strVC9Key);
+		var strVCKey = "HKLM\\Software\\Microsoft\\VisualStudio\\10.0\\Setup\\VC\\ProductDir";
+		strValue = WSShell.RegRead(strVCKey);
 	}
 	catch(e)
 	{
 		try
 		{
-			var strVC9Key_x64 = "HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir";
-			strValue = WSShell.RegRead(strVC9Key_x64);
+			var strVCKey_x64 = "HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\Setup\\VC\\ProductDir";
+			strValue = WSShell.RegRead(strVCKey_x64);
 		}
 		catch(e)
 		{
 			try
 			{
-				var strVC9ExKey = "HKLM\\Software\\Microsoft\\VCExpress\\9.0\\Setup\\VC\\ProductDir";
-				strValue = WSShell.RegRead(strVC9ExKey);
+				var strVCExKey = "HKLM\\Software\\Microsoft\\VCExpress\\10.0\\Setup\\VC\\ProductDir";
+				strValue = WSShell.RegRead(strVCExKey);
 			}
 			catch(e)
 			{
-				WScript.Echo("Cannot find where Visual Studio 2008 is installed. UdmInterpreter wizard will be unavailable.");
+				WScript.Echo("Cannot find where Visual Studio 2010 is installed. UdmInterpreter wizard will be unavailable.");
 				return;
 			}
 			WScript.Echo("Visual Studio Express doesn't support Wizards. UdmInterpreter Wizard will be unavailable.");
@@ -156,9 +156,9 @@
 		{
 			var strLine = fileSrc.ReadLine();
 			if(strLine.indexOf("Wizard=VsWizard.VsWizardEngine") != -1)
-				strLine = "Wizard=VsWizard.VsWizardEngine.9.0";
+				strLine = "Wizard=VsWizard.VsWizardEngine.10.0";
 			else if(strLine.indexOf("WIZARD_VERSION") != -1)
-				strLine = "Param=\"WIZARD_VERSION = 9.0\"";
+				strLine = "Param=\"WIZARD_VERSION = 10.0\"";
 			else if(strLine.indexOf("ABSOLUTE_PATH") != -1)
 				strLine = "Param=\"ABSOLUTE_PATH = " + strSourceFolder + "\"";
 			fileDest.WriteLine(strLine);


More information about the Mobies-commit mailing list