fzk2000
19th July 2006 10:17 UTC
Installation Drive
Hello,
Ive got my installer running fine, although now i want to find out the drive that im installing to i.e C:/ then install some other data there.
Is there any way to get the drive that the installer is pointing at, only thing ih ave at the moment is $installdir or something similar, if i cant get the drive associated, could i get the first 3 characters in the installdir anyway?
Joel
19th July 2006 15:02 UTC
Is been posted a lot, see this.
fzk2000
20th July 2006 11:53 UTC
Brilliant!
I also was wondering about the windows directory, i tried using $WinDir but it didnt seem to exist, is there a standard variable to use for getting the windows directory?
Joel
20th July 2006 15:53 UTC
what?, you don't have WinDir? :confused: Are you using linux? :D
Afrow UK
20th July 2006 20:09 UTC
It may be case sensitive, but I'm pretty sure it isn't.
Try $WINDIR.
-Stu
kichik
22nd July 2006 10:23 UTC
GetRoot also works for UNC paths.