Commit 07cc9a34 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regsvr32: Process the next file in the array if an error occurs.

The Windows version stops processing the current file and moves to the next file on the first error.
parent 48c7a3f4
......@@ -292,8 +292,9 @@ int wmain(int argc, WCHAR* argv[])
if (CallInstall && Unregister)
res = InstallDll(!Unregister, DllName, wsCommandLine);
/* The Windows version stops processing the current file on the first error. */
if (res)
return res;
continue;
if (!CallInstall || (CallInstall && CallRegister))
{
......@@ -304,14 +305,13 @@ int wmain(int argc, WCHAR* argv[])
}
if (res)
return res;
/* Confirmed. The Windows version stops on the first error. */
continue;
if (CallInstall && !Unregister)
res = InstallDll(!Unregister, DllName, wsCommandLine);
if (res)
return res;
continue;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment