Before you begin make sure you entirely read the tutorial.
1. Download Android SDK and USB drivers
Download the latest AndroidSDK from Google and extract the AndroidSDK.zip file to C:\AndroidSDK.
Download and install HTC Sync from HTC (HTC Sync is not required for ADB but it's the easiest way to install usb drivers).
If you are using HTC Hero and Microsoft Windows 7 (and you experience problems with driver installation) you have to follow this procedure to install usb drivers and HTC Sync.
Many user who are running Windows 7 are having trouble syncing their HTC Hero to their computer, as the driver is not installed properly in Microsoft Windows 7. The following guide is a workaround.
In order to get HTC Hero synchronizes with Windows 7 do the following:
1. Download latest synchronization tool from HTC, namely HTC Sync.
2. Install HTC Sync program on the computer. At this moment, your computer still unable to recognize your phone.
3. Manually update the HTC drivers for Windows 7, using the following driverPrint This Post