If you are setting up a development environment for SharePoint 2010 on your Windows 7 x64 workstation, then you have probably already read this article:
Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008http://msdn.microsoft.com/en-us/library/ee554869.aspx
Unfortunately, if you read the article, you will notice that the prerequisites necessary for installing SharePoint will not automatically be installed by the installer on a Windows 7 system. Therefore, it is up to the developer to manually install of the required prerequisites.
Fortunately, the Scripting Experts at Microsoft have created a PowerShell script to automate the entire installation of SharePoint 2010 on a Windows 7 workstation!
Script to Install SharePoint 2010 on Windows 7
To go even a step further, Microsoft has released a tool which functions similar to the Web Platform Installer in that it allows a whole host of applications to be installed and configured automatically for you called the SharePoint 2010 Easy Setup Script.
This tool can be downloaded from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=54dc2eef-e9ea-4c7b-9470-ec5cb58414de