Do some basic work with registry component paths.
This commit is contained in:
parent
c2c0a98737
commit
af812605fb
|
@ -1169,11 +1169,19 @@ INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR szProduct, LPCWSTR szComponent,
|
||||||
TRACE("found path of (%s:%s)(%s)\n", debugstr_w(szComponent),
|
TRACE("found path of (%s:%s)(%s)\n", debugstr_w(szComponent),
|
||||||
debugstr_w(szProduct), debugstr_w(path));
|
debugstr_w(szProduct), debugstr_w(path));
|
||||||
|
|
||||||
FIXME("Only working for installed files, not registry keys\n");
|
if (path[0]=='0')
|
||||||
|
{
|
||||||
|
FIXME("Registry entry.. check entry\n");
|
||||||
|
rrc = INSTALLSTATE_LOCAL;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* PROBIBLY a file */
|
||||||
if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
|
if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
|
||||||
rrc = INSTALLSTATE_LOCAL;
|
rrc = INSTALLSTATE_LOCAL;
|
||||||
else
|
else
|
||||||
rrc = INSTALLSTATE_ABSENT;
|
rrc = INSTALLSTATE_ABSENT;
|
||||||
|
}
|
||||||
|
|
||||||
if( pcchBuf )
|
if( pcchBuf )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue