Commit ba713a8c authored by Alexandre Julliard's avatar Alexandre Julliard

uninstaller: Restart 64-bit version from the system32 directory.

parent 1c5b3f20
...@@ -161,7 +161,8 @@ int __cdecl wmain(int argc, WCHAR *argv[]) ...@@ -161,7 +161,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
memset( &si, 0, sizeof(si) ); memset( &si, 0, sizeof(si) );
si.cb = sizeof(si); si.cb = sizeof(si);
GetModuleFileNameW( 0, filename, MAX_PATH ); GetSystemDirectoryW( filename, MAX_PATH );
wcscat( filename, L"\\uninstaller.exe" );
Wow64DisableWow64FsRedirection( &redir ); Wow64DisableWow64FsRedirection( &redir );
if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi )) if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
......
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