msi: Fix missing case in MsiSourceListAddSourceEx.

This commit is contained in:
Dan Kegel 2006-04-22 11:31:12 -07:00 committed by Alexandre Julliard
parent 2b5963f8e2
commit 35f9a4797f
1 changed files with 2 additions and 0 deletions

View File

@ -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);