Thanks for your reply Liviu. I'm actually unsure if it answers my problem or not.
If I read it correctly it seems to be affecting the install path (the appdir) but that wasn't what I was asking about (I probably didn't explain very well). What I am asking is if I can use a registry key to set the ...