Welcome to MSDN Blogs Sign in | Join | Help

Where is UISpy.exe?

The UI Spy tool did not ship in the Windows SDK for Windows Server 2008 and .NET Framework 3.5, released February, 2008.  We’re working to get this great tool back into the next SDK release.  If you need UISpy, you can find it in the earlier Windows SDK for Vista Update.  If you don’t want the entire SDK on your computer, you can download just the .NET Framework Tools from the Windows SDK for Vista Update.   

 

Caution: if you have Visual Studio 2008 installed, installing Windows SDK side by side on the same computer will affect your Visual Studio 2008 installation.  Different versions of SDKs are designed to work side by side but a partial install of SDK may cause problems.  Here’s why:

 

After installing the Windows SDK you will have one set of SDK resources for each SDK installed, located under \Program Files\Microsoft SDKs\Windows:

 

·         \Program Files\Microsoft SDKs\Windows\v6.1\ – resources installed by Windows SDK for Windows Server 2008 and .NET Framework 3.5

·         \Program Files\Microsoft SDKs\Windows\v6.0A\  – resources installed by Visual Studio 2008

·         \Program Files\Microsoft SDKs\Windows\v6.0\ – resources installed by Windows SDK for Vista Update  (the \Bin directory here will have the tool set that includes UISpy.exe)

 

The Visual Studio 2008 IDE and some environment variables used by MSBuild are directed to the location of the last installed version of SDK to find Windows headers and libraries, and tools. This happens because the last installed SDK updates the "CurrentInstallFolder" value under the following registry keys to point to the last installed SDK location:

 

On an X86 machine:

·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows

·         HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows

 

On an X64 or IA64 machine:

·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows

·         HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows

·         HKEY_LOCAL_MACHINE \SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows

·         HKEY_CURRENT_USER \SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows

 

If you wish to change the  version of SDK resources that Visual Studio uses, you will need to update this registry key to point to the location of the SDK resources installed by Visual Studio (v6.0a). This can be done using the ‘SDK Configuration Tool’. More details about ‘SDK Configuration Tool’ can be found here and here.  Advanced users with sufficient experience can update this registry key using regedit.  Please review http://support.microsoft.com/kb/256986 before making any changes to your registry.

 

 

What is UISpy?  The UI Spy tool enables developers and testers to view and interact with the user interface (UI) elements of an application. By viewing the application's UI hierarchical structure, property values, and raised events, developers and testers can verify that the UI they are creating is programmatically accessible to assistive technology devices such as screen readers.

 

Sumit Kumar

Tools Program Manager

Windows SDK Team

Published Monday, February 18, 2008 10:29 PM by wsdkblog@microsoft.com
Filed under:

Comments

# BioSensorAB » Where is UISpy.exe?

Monday, February 18, 2008 5:39 PM by BioSensorAB » Where is UISpy.exe?

# re: Where is UISpy.exe?

Sumit, it seemed, that you linked to the same place, instead of linking to only Tools download

Friday, February 22, 2008 8:55 AM by tamir

# re: Where is UISpy.exe?

Tamir, the link to the Windows SDK for Vista Update is the correct place to get UISpy.exe.  You will need to click on the Download button, which will launch the setup screens.  When you get to the Installation Screen, deselect everything except the .NET Framework Tools.  Then continue with setup.  Only the minimum bits will be installed on your computer.  

UISpy and the other .NET Framework tools will be installed to: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin.

Friday, February 22, 2008 11:41 AM by wsdkblog@microsoft.com

# UI Automation in Silverlight - Simulating User Interactions

I was recently tasked with automating Silverlight Rich Internet Applications (RIAs) in our immediate

Friday, July 11, 2008 11:07 PM by gaisen

# UI Automation in Silverlight - Part II (The Easy Way)

So, I wrote a blog post a bit earlier on exposing custom controls for accessibility and automation in

Thursday, July 17, 2008 12:20 PM by gaisen

# [Silverlight] UI 测试/UI 自动化相关知识

Saturday, September 27, 2008 11:07 AM by 木野狐(Neil Chen)

# Windows Automation API SDK Tools

Windows Automation API 3.0 Some of you may be wondering why we refer to the Microsoft Accessibility programming

Wednesday, May 27, 2009 1:51 PM by Microsoft Windows UI Automation Blog

# Windows Automation API SDK Tools

Windows Automation API 3.0 Some of you may be wondering why we refer to the Microsoft Accessibility programming

Wednesday, June 03, 2009 11:49 AM by Microsoft Windows UI Automation Blog
Anonymous comments are disabled
 
Page view tracker