From e9383cc1638a428ca16b9d1d40a6c9bf4eff4785 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sun, 13 Oct 2013 22:08:24 +0000 Subject: [PATCH] [SETUPAPI] Remove too zealous check for OEMSourceMediaLocation. OEMSourceMediaLocation can be NULL and means that the current path or a default URL is beeing used. Fixes installation of VMWare Tools drivers. The installation still aborts due to issue in configuring the vmware tools service. svn path=/trunk/; revision=60649 --- reactos/dll/win32/setupapi/install.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/reactos/dll/win32/setupapi/install.c b/reactos/dll/win32/setupapi/install.c index fbf159f601f..b6eae76062b 100644 --- a/reactos/dll/win32/setupapi/install.c +++ b/reactos/dll/win32/setupapi/install.c @@ -2283,8 +2283,6 @@ BOOL WINAPI SetupCopyOEMInfW( SetLastError(ERROR_INVALID_PARAMETER); else if (OEMSourceMediaType != SPOST_NONE && OEMSourceMediaType != SPOST_PATH && OEMSourceMediaType != SPOST_URL) SetLastError(ERROR_INVALID_PARAMETER); - else if (OEMSourceMediaType != SPOST_NONE && !OEMSourceMediaLocation) - SetLastError(ERROR_INVALID_PARAMETER); else if (CopyStyle & ~(SP_COPY_DELETESOURCE | SP_COPY_REPLACEONLY | SP_COPY_NOOVERWRITE | SP_COPY_OEMINF_CATALOG_ONLY)) { TRACE("Unknown flags: 0x%08lx\n", CopyStyle & ~(SP_COPY_DELETESOURCE | SP_COPY_REPLACEONLY | SP_COPY_NOOVERWRITE | SP_COPY_OEMINF_CATALOG_ONLY)); -- 2.17.1