James Hawkins : msi: Check that the file key is valid before installing the assembly.
Alexandre Julliard
julliard at winehq.org
Tue May 20 09:06:22 CDT 2008
Module: wine
Branch: master
Commit: 70cd6bfbbd85e9caab0ec9e01314d605588eb109
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70cd6bfbbd85e9caab0ec9e01314d605588eb109
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Tue May 20 00:35:42 2008 -0500
msi: Check that the file key is valid before installing the assembly.
---
dlls/msi/action.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 0e931a1..02beb0c 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -5663,6 +5663,11 @@ static UINT ITERATE_PublishAssembly( MSIRECORD *rec, LPVOID param )
/* FIXME: extract all files belonging to this component */
file = msi_find_file(package, comp->KeyPath);
+ if (!file)
+ {
+ ERR("File %s not found\n", debugstr_w(comp->KeyPath));
+ return ERROR_FUNCTION_FAILED;
+ }
GetTempPathW(MAX_PATH, path);
More information about the wine-cvs
mailing list