How to install JW Library?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
yajoman
Newbie
Newbie
Posts: 4
Joined: Mon Oct 19, 2020 9:45 am

How to install JW Library?

Post by yajoman »

Hello friends.

I'm trying to install JW Library. The app can be downloaded from https://www.jw.org/en/online-help/jw-li ... l-windows/

I downloaded it and uncompressed into drive_c/jwlb_E

It seems one needs to use PowerShell to execute the installation script. I managed to download it from https://github.com/PowerShell/PowerShel ... in-x64.zip (portable, just need to execute pwsh.exe from the unzipped folder).

However I still cannot install it. This is the result from cmd:

Code: Select all

c:\>c:\PowerShell-7.1.7-win-x64\pwsh.exe c:\jwlb_E\Install.ps1
Found bundle: C:\jwlb_E\JWLibrary_13.2.45.0_x86_x64_arm.msixbundle
Error: The package or bundle is not digitally signed or its signature is corrupted.
It seems to need the certificate. I expected it to be installed automatically, but it doesn't.

I created a Windows 11 VM and copied from there the files certcli.dll, certenc.dll, certutil.exe and certca.dll into Wine's drive_c/windows/system32. Then I ran:

Code: Select all

c:\PowerShell-7.1.7-win-x64\pwsh.exe c:\jwlb_E\Add-AppDevPacka
ge.ps1 -CertificatePath c:\jwlb_E\JWLibrary_13.2.45.0_x86_x64_arm.cer
Instalando certificado...
Error: el archivo "c:\jwlb_E\JWLibrary_13.2.45.0_x86_x64_arm.cer" no es un cert
ificado digital válido. CertUtil devolvió el código de error -2147024883.
0724:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"mscorlib.dll" cannot be loaded
Press Enter to continue...:
I don't know what else to do! Any possible help here please?
Pepperpad1
Newbie
Newbie
Posts: 1
Joined: Sat Jul 30, 2022 6:26 am

Re: How to install JW Library?

Post by Pepperpad1 »

Hello,
I have the same problem, have you found a solution?
Thank you
yajoman
Newbie
Newbie
Posts: 4
Joined: Mon Oct 19, 2020 9:45 am

Re: How to install JW Library?

Post by yajoman »

The only thing I've found is that wine doesn't support misxbundle files: viewtopic.php?p=134408#p134408

Not sure if there's anything really that we can do to install this app on Wine. 😕
yajoman
Newbie
Newbie
Posts: 4
Joined: Mon Oct 19, 2020 9:45 am

Re: How to install JW Library?

Post by yajoman »

It seems to me like https://github.com/microsoft/msix-packa ... /README.md explains the tools that are supposed to be used to install msixbundle packages, but I can't figure it out.
Dasute
Newbie
Newbie
Posts: 1
Joined: Mon Nov 21, 2022 7:56 am

Re: How to install JW Library?

Post by Dasute »

You can actually install powershell on Linux check here:

https://learn.microsoft.com/en-us/power ... rshell-7.3

I have gotten so far as to install powershell and run the script but it cannot find the files. See below (note home directory was substituted with "xxxxxx":

Code: Select all

PS /home/xxxxxxx/Downloads/JWlib_Win/jwlb_E> ./Install.ps1
Import-LocalizedData: /home/xxxxxxx/Downloads/JWlib_Win/jwlb_E/Add-AppDevPackage.ps1:56
Line |
  56 |  Import-LocalizedData -BindingVariable UiStrings -BaseDirectory $Local …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find the PowerShell data file 'Add-AppDevPackage.psd1' in directory
     | '/home/xxxxxxxx/Downloads/JWlib_Win/jwlb_E/Add-AppDevPackage.resources/en-US', or in any parent culture directories.
PS /home/xxxxxxxxx/Downloads/JWlib_Win/jwlb_E> Install.ps1
Install.ps1: The term 'Install.ps1' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I have a feeling it would need to be a powershell install within wine or crossover and then the script somehow run within there. I will try and see what happens.

Note: I am on KDE Plasma on a Tuxedo Computers laptop.
Locked