$froot(path)
The $froot function returns the root folder on the volume of the passed-in path. If path is empty or not an absolute path, the result is an empty string. For consistency with all other path functions and symbolic path variables, the return value does not include a trailing directory separator.
path must have one of the following formats:
In the first case, $froot returns letter:, in the second it returns \\server\share. See Examples below.
Windows Installer does not support symbolic functions; if you use this function
during an MSI build, you will get diagnostic message BLD:U0010
and the result is undefined.
All parameters may contain symbolic references; these are resolved before the function is applied. See Examples below.
Here are some usage examples for this function: