mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[WINESYNC] setupapi: Specify the correct binary file name when registering an executable.
wine commit id f9c8afd320a71ed4a04fbbd199844738a84068b5 by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
deedf6a9df
commit
cb0ee40890
|
@ -626,7 +626,7 @@ static BOOL do_register_dll( struct register_dll_info *info, const WCHAR *path,
|
|||
memset( &startup, 0, sizeof(startup) );
|
||||
startup.cb = sizeof(startup);
|
||||
TRACE( "executing %s\n", debugstr_w(cmd_line) );
|
||||
res = CreateProcessW( NULL, cmd_line, NULL, NULL, FALSE, 0, NULL, NULL, &startup, &process_info );
|
||||
res = CreateProcessW( path, cmd_line, NULL, NULL, FALSE, 0, NULL, NULL, &startup, &process_info );
|
||||
HeapFree( GetProcessHeap(), 0, cmd_line );
|
||||
if (!res)
|
||||
{
|
||||
|
|
|
@ -5,4 +5,4 @@ files:
|
|||
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
||||
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
||||
tags:
|
||||
wine: 721e73543e31cb62e6b9f8e374425a9eacddc6a3
|
||||
wine: f9c8afd320a71ed4a04fbbd199844738a84068b5
|
||||
|
|
Loading…
Reference in a new issue