Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Iffileexists use on root (http://forums.winamp.com/showthread.php?t=230372)

sirchris 7th November 2005 18:47

Iffileexists use on root
 
Function .onVerifyInstDir
;Check for program installation
IfFileExists $INSTDIR\bin\myprog.exe Good
Abort
Good:
FunctionEnd


ok this procedure works great if the bin\myprog.exe exits in a folder they select such as F:\apps\bin\myprog.exe but if bin\myprog.exe is right on the root of F:\ (f:\bin\myprog.exe) its not detected.

IS there a way to get this to work or am i not doing something right?

Thanks

Instructor 7th November 2005 19:06

code:
AllowRootDirInstall true


All times are GMT. The time now is 04:44.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.