D4koon / WhatsappTray

Minimize Whatsapp Desktop-Client to Tray
GNU General Public License v3.0
388 stars 30 forks source link

Can not start WhatsappTray 1.7.1.0 #92

Closed ed-holland closed 3 years ago

ed-holland commented 3 years ago

The startup fails. Installed using Admin rights. Can the logging be increased?

Logfile:

15:37:33.018 - WhatsappTray::WinMain: Starting WhatsappTray 1.7.1.0 in Release CompileConfiguration.
15:37:33.018 - WhatsappTray::WinMain: CloseToTray=0.
15:37:33.024 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\edwen\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\
15:37:33.040 - TrayManager::ctor() - Creating TrayManger.
15:37:33.040 - WhatsappTray::StartWhatsapp: Starting WhatsApp from canonical-path:'C:\Users\edwen\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\WhatsApp\WhatsApp.lnk'
15:37:33.075 - WhatsappTray::StartWhatsapp: Resolved .lnk (Shortcut) to:''
15:37:33.076 - WhatsappTray::StartWhatsapp: CreateProcess failed(87).
15:37:35.238 - WhatsappTray::WndProc: WM_DESTROY
15:37:35.239 - WhatsappTray::WndProc: QuitMessage posted.

Windows Details:

Edition Windows 10 Pro
Version 20H2
Installed on    ‎15.‎08.‎2020
OS build    19042.746
Experience  Windows Feature Experience Pack 120.2212.551.0

WhatsApp Desktop (installed as App) image

ed-holland commented 3 years ago

Adjusting the whatsapp path in the config file does not work either.

15:55:34.312 - WhatsappTray::WinMain: Starting WhatsappTray 1.7.1.0 in Release CompileConfiguration.
15:55:34.312 - WhatsappTray::WinMain: CloseToTray=0.
15:55:34.316 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\edwen\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\
15:55:34.331 - TrayManager::ctor() - Creating TrayManger.
15:55:34.332 - WhatsappTray::StartWhatsapp: Starting WhatsApp from canonical-path:'C:\Program Files\WindowsApps\5319275A.WhatsAppDesktop_2.2049.10.0_x64__cv1g1gvanyjgm\app\WhatsApp.exe'
15:55:34.352 - WhatsappTray::StartWhatsapp: CreateProcess failed(5).
15:55:36.564 - WhatsappTray::WndProc: WM_DESTROY
15:55:36.565 - WhatsappTray::WndProc: QuitMessage posted.

I've then uninstalled the app and download the classic implementation. After reinstalling the Whatsapp Tray it worked fine ;-)

D4koon commented 3 years ago

In your first post it looks like you use in the lnk is no paht to WhatsApp

In you second post i guess (from the path) you use the WhatsApp-Version from WindowsStore. I have never tried if this works. Pleas try downloading WhatsApp-Desktop from the Website

ed-holland commented 3 years ago

I've then uninstalled the app and download the classic implementation. After reinstalling the Whatsapp Tray it worked fine ;-)

With the normal desktop install it works nicely. The App seems to require different handling. Shall i close the issue or do you want to keep it as a future enhancement request?

D4koon commented 3 years ago

I did not read that... I will close as i do not plan to support the windwosStore version for now