Alexandre Julliard : setupapi: Specify the correct binary file name when registering an executable.
Alexandre Julliard
julliard at winehq.org
Wed Dec 14 13:23:33 CST 2011
Module: wine
Branch: master
Commit: f9c8afd320a71ed4a04fbbd199844738a84068b5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f9c8afd320a71ed4a04fbbd199844738a84068b5
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Dec 14 18:09:18 2011 +0100
setupapi: Specify the correct binary file name when registering an executable.
---
dlls/setupapi/install.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index e73b769..947a512 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -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)
{
More information about the wine-cvs
mailing list