i dunno try assigning drive C with the letter D and assign drive D with the letter C

the installer should have an option on where you want to install the program
example:
one of the installer step will say it will save to this directory eg."C:/program files/program". somewhere near it it should say change directory or you can type in the directory yourself (on the "C:/program files/program" text field) (im not saying every installer will have this. This is just an example of some installer will have)