Open up a registry editor (Start, Run, "regedit"), then navigate to the following key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion
You'll see a ProgramFilesDir entry. Change that to whatever is desired. Reboot for the change to take effect.