From 35f9a4797f52ae5e697c096015a9bafdd6a2c52e Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sat, 22 Apr 2006 11:31:12 -0700 Subject: [PATCH] msi: Fix missing case in MsiSourceListAddSourceEx. --- dlls/msi/source.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msi/source.c b/dlls/msi/source.c index 779bbc48810..cb73ec838f7 100644 --- a/dlls/msi/source.c +++ b/dlls/msi/source.c @@ -499,6 +499,8 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid, rc = OpenNetworkSubkey(sourcekey, &typekey, TRUE); else if (dwOptions & MSISOURCETYPE_URL) rc = OpenURLSubkey(sourcekey, &typekey, TRUE); + else if (dwOptions & MSISOURCETYPE_MEDIA) + rc = OpenMediaSubkey(sourcekey, &typekey, TRUE); else { ERR("unknown media type: %08lx\n", dwOptions);