mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
setupapi: Specify the correct binary file name when registering an executable.
This commit is contained in:
parent
f5956f1ac6
commit
f9c8afd320
@ -549,7 +549,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user