Author: spetreolle Date: Sun Oct 13 22:08:24 2013 New Revision: 60649
URL: http://svn.reactos.org/svn/reactos?rev=60649&view=rev Log: [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.
Modified: trunk/reactos/dll/win32/setupapi/install.c
Modified: trunk/reactos/dll/win32/setupapi/install.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install.... ============================================================================== --- trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] Sun Oct 13 22:08:24 2013 @@ -2283,8 +2283,6 @@ 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));