Blogs

Showing 1 - 5 of 16 results.
Items per Page 5
of 4

Forums

« Back to Microsoft Discussions

RE: Powertool installation unable to detect .Net framework

Combination View Flat View Tree View
Threads [ Previous | Next ]
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 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

I am assuming you were just looking for the file version .. see the following output. Let me know if you require anything else. 
 
gwmi -query "select * from cim_datafile where name='C:\\windows\\system32\\mscoree.dll'" | ft name, version
 
name                                    version
----                                    -------
c:\windows\system32\mscoree.dll         4.0.31106.0 (Main.031106-0000)

kaushal,
This should have worked. May be the extra text in the version number is messing up something. let me quickly check the parsing logic and get back to you.
drop me your email id at vvb@cisco.com and I will drop you a build by tomorrow.
Thanks,
Vikrant

Thanks, sent you an email. 

Collateral


No files available