Constant for the CD Drive
Hello,
Need the Constant for the CD Drive. Cant find it in the Documentation.
Thanks for help
Archive: Constant for the CD Drive
Constant for the CD Drive
Hello,
Need the Constant for the CD Drive. Cant find it in the Documentation.
Thanks for help
You'd need to find it, use function GetDrives
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.5
Or, if your installer is running off the CD drive, use
Var $CDDRIVE
...
StrCpy $CDDRIVE $EXEDIR 1
Stu
Mmmmh...
I use this command:
(!include "FileFunc.nsh")
${GetDrives} "CDROM" "Function I like"
But the compiler always says that "${GetDrives}" is an invalid command
Did you look at FileFunc.nsh?
!include FileFunc.nsh
!insertmacro GetDrives
...
Stu
okay... thanks ;)