mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
[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
This commit is contained in:
parent
20c2a55a62
commit
e9383cc163
1 changed files with 0 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue