Kindle installer shows "Please wait while setup is unpacking data" and then disappears

Questions about Wine on Linux
Locked
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

Kindle installer shows "Please wait while setup is unpacking data" and then disappears

Post by steinarb »

Platform:
  • debian 11.5 "bullseye" on amd64,
  • wine64 5.0.3-3
  • kindle for PC versions 1-17-44170 and 1.24.51068
Wine installed with:

Code: Select all

apt install wine64
When I start the installer with:

Code: Select all

sb@marquez:~$ wine64 ~/Downloads/KindleForPC-installer-1-17-44170.exe 
002b:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
sb@marquez:~$ 
a dialog appears, with the text "Please wait while setup is unpacking data" and a counter that counts up to "100%" and then the dialog disappears.

I get the same behaviour for kindle 1-17-44170 and 1.24.51068.

I have also installed wine32 but I get the same behaviour as win64, except I don't get the "Could not find dependent assembly..." text while the setup is running.

Is there a good way to debug this?

Thanks!
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Kindle installer shows "Please wait while setup is unpacking data" and then disappears

Post by jkfloris »

A few tips:
-The version of Wine in bullseye is very old. Probably the bug was fixed in a later version. Fortunately, there is an up-to-date version of Wine in bullseye-backports.

- The Kindle installation program is a 32-bit program. So it makes no sense to run it with wine64.

- Older versions of Kindle do not always work well with Wine. With version 1.38.65290, I don't notice any problems during the installation.
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

Re: Kindle installer shows "Please wait while setup is unpacking data" and then disappears

Post by steinarb »

Thanks!

I installed wine32 from bullseye-backports

Code: Select all

apt install -t bullseye-backports wine32
So I tried installing kindle version 1.17

Code: Select all

wine ~/Downloads/KindleForPC-installer-1-17-44170.exe
The installer worked fine and kindle started fine, but was unable to connect to the internet. I googled and found this https://askubuntu.com/a/1352999 but the instructions didn't work for me.

So then I tried kindle version 1.24

Code: Select all

wine ~/Downloads/KindleForPC-installer-1.24.51068.exe
but the console was filled with output, the kindle window was frozen.

I killed kindle and tried to look for error messages in the console

Code: Select all

[WARN][MazamaLog] ShellExecute 'about:blank' failed (error 31).
[INFO][RegistrationDialogWrapper] reloadWebview
[INFO][RegistrationDialogWrapper] Loading registration URL: https://www.amazon.com/ap/signin?openid.oa2.client_id=device%3A6e4536376e37534772746e4137663731726850745372357a5376365737623747367
a6e366e4a374d23413258494d4d3741435334475553&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns.oa2=http%3A%2F%2Fwww.amazon.com%2Fap%2Fext%2Foauth%2F2&
openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.oa2.scope=device_auth_acc
ess&openid.oa2.response_type=token&openid.return_to=https%3A%2F%2Fwww.amazon.com%2F&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&accountS
tatusPolicy=P1&pageId=amzn_mazama_pc_aui&openid.assoc_handle=amzn_mazama_desktop_us&disableLoginPrepopulate=1
0124:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
I again googled and found this https://superuser.com/a/148319

I tried running

Code: Select all

wine iexplore.exe
and got the same error.

So again I googled, found that debian wine doesn't include gecko, so downloaded wine-gecko-2.47.2-x86.msi from https://wiki.winehq.org/Gecko and installed it with

Code: Select all

wine /tmp/wine-gecko-2.47.2-x86.msi
After that iexplore.exe started fine, but the kindle 1.24 installer still failed in the same way

So then I tried kindle version 1.39

Code: Select all

wine ~/Downloads/KindleForPC-installer-1.39.65323.exe
And that version installed perfectly and let me log in to amazon and showed my books.

Unfortunately I can't use that version for various reasons I won't go into here. Version 1.24 is the latest version I can use.
Locked