James Hawkins : msi: Don'
t try to register a class if a COM server file is not provided.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Sep 12 07:30:15 CDT 2006
Module: wine
Branch: master
Commit: 61db539cec1e44927b1c8ea8bf2d8c948800bd80
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=61db539cec1e44927b1c8ea8bf2d8c948800bd80
Author: James Hawkins <truiken at gmail.com>
Date: Mon Sep 11 16:40:21 2006 -0700
msi: Don't try to register a class if a COM server file is not provided.
---
dlls/msi/classes.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c
index 9d9d7b2..cc9c86b 100644
--- a/dlls/msi/classes.c
+++ b/dlls/msi/classes.c
@@ -844,6 +844,11 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE
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).
More information about the wine-cvs
mailing list