[Bug 40613] WhatsApp Desktop application not working

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 12 18:56:06 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40613

Michael Müller <michael at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael at fds-team.de

--- Comment #3 from Michael Müller <michael at fds-team.de> ---
Louis is correct about the cause of the problem. WhatsApp stops the
installation if you run the installer with administrator rights. The installer
also tries to explain this:

0042:Call KERNEL32.lstrlenW(00423cd0 L"Please re-run this installer as a normal
user instead of \"Run as Administrator\".") ret=0040253e

which is most probably not shown because of the incomplete implementation of
TaskDialogIndirect (see bug 34850).

There is not much we can do about this now. Changing the value will break a lot
of other applications which would need administrator rights for the
installation. The correct way to solve this would require implementing
something like UAC in Wine.

If you really need to use WhatsApp in Wine:
1. Apply Louis NtQueryInformationToken hack
2. Install .NET (winetricks dotnet452)
3. Start the WhatsApp installer and let it crash
(The installer executes a .NET application which will not work in Wine with
windows version set >= XP, .NET tries to use uiautomationcore.dll on newer
versions.)
4. Set the windows version back to XP.
5. Install the 2010 and 2013 VC runtime (winetricks vcrun2013 vcrun2010)
6. Create a copy of msvcr100.dll and name it msvcr100_clr0400.dll in system32
7. Go to drive_c/users/$USER/Local Settings/Application
Data/WhatsApp/app-0.2.684
8. Run WhatsApp.exe --squirrel-install 0.2.684

Now you can run WhatsApp.exe without parameters and it should work. I didn't
check what point 8 does, but it is what the original installer intended to do.

@Louis: There is a 32 and 64 bit download available and the 32 bit version
works in a 32 bit only prefix, so I guess you downloaded the wrong version.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list