Kaushal Shah:
Trying to install Cisco UCS Powertool 1.0 but the installation fails with the following error message even though this xp system has .net framework 2.0, 3.0, 3.5 and 4.0 installed. Any ideas?
---------------------------
Cisco UCS PowerTool - InstallShield Wizard
---------------------------
Microsoft .NET Framework 2.0 or higher needs to be installed for this installation to continue.
---------------------------
OK
---------------------------
Kaushal,
Can you put the following snippets in a file. Name it test.vbs. Fire a cmd prompt; navigate to the path where test.vbs exists and execute "cscript test.vbs". email me the results of it
vvb@cisco.com.
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
set shellObj = WScript.CreateObject("WScript.Shell")
Set colItems = objWMIService.ExecQuery("Select * from CIM_Datafile Where Name = '" & Replace((shellObj.ExpandEnvironmentStrings("%Windir%")), "\", "\\") & "[url=file://system32//mscoree.dll']\\system32\\mscoree.dll'")
For Each objItem in colItems
WScript.StdOut.WriteLine "[Registry Values]"
WScript.StdOut.WriteLine "Version = " & objItem.Version
Next
Thanks,
Vikrant