Hi,
Mostly all programs for Windows that you install, will give you the default location as "C:\Program Files\....." Just change the drive letter in this path from "C:" to "D:" and install. Everything will work fine.
Now for exceptions, there still exist programs that do not come with an install file, and they even tell you in their readme files that "this program should be installed only at c:\x...". Be careful with these programs, they can mean what they say.
Manish.