Ok searched for Steam, and this is the most approte thread i could find. [link]
What i want to do is take the value from ModInstallPath and get the parent forlder. then set that to the Insall path.
I am going to try and make up some code later, but in that time if you could help with this then that would be great, I will no doubt have some qustions on how to do this later.