msi: detect registry keypaths

Alexandre Julliard julliard at winehq.org
Tue Feb 22 06:55:32 CST 2005


Aric Stewart <aric at codeweavers.com> writes:

> -    FIXME("Only working for installed files, not registry keys\n");
> -    if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
> -        rrc = INSTALLSTATE_LOCAL;
> +    if (path[0]=='0')
> +    {
> +        FIXME("Registry entry.. check entry\n");
> +        if (path[0])
> +            rrc = INSTALLSTATE_LOCAL;
> +        else
> +            rrc = INSTALLSTATE_ABSENT;
> +    }

Since path[0] is first checked against '0' this test doesn't seem to
make much sense. What are you trying to do here?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list