Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Installation Drive (http://forums.winamp.com/showthread.php?t=251471)

fzk2000 19th July 2006 09:17

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 14:02

Is been posted a lot, see this.

fzk2000 20th July 2006 10:53

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 14:53

what?, you don't have WinDir? :confused: Are you using linux? :D

Afrow UK 20th July 2006 19:09

It may be case sensitive, but I'm pretty sure it isn't.
Try $WINDIR.

-Stu

kichik 22nd July 2006 09:23

GetRoot also works for UNC paths.


All times are GMT. The time now is 05:00.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.