msi: Don't try to register a class if a COM server file is not provided.

This commit is contained in:
James Hawkins 2006-09-11 16:40:21 -07:00 committed by Alexandre Julliard
parent b8d3c99d4b
commit 61db539cec
1 changed files with 5 additions and 0 deletions

View File

@ -844,6 +844,11 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
RegCreateKeyW( hkey2, cls->Context, &hkey3 );
file = get_loaded_file( package, comp->KeyPath );
if (!file)
{
TRACE("COM server not provided, skipping class %s\n", debugstr_w(cls->clsid));
continue;
}
/*
* FIXME: Implement install on demand (advertised components).