[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:
winesync 2024-01-04 21:48:43 +01:00 committed by Hermès Bélusca-Maïto
parent deedf6a9df
commit cb0ee40890
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -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