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.
Update: UISpy.exe has been reintroduced into the Windows SDK for Windows 7 and .NET Framework 3.5 SP1.
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\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.
Tools Program Manager
Windows SDK Team