Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Connector Installation #625

Closed
Vanti-png opened this issue Jan 12, 2025 · 10 comments
Closed

Stuck on Connector Installation #625

Vanti-png opened this issue Jan 12, 2025 · 10 comments
Labels
bug Something isn't working

Comments

@Vanti-png
Copy link

Description

Cannot complete the installation. Stuck on Connector Installation but i installed it. Nothing happens when i wait or when i restart the browser. I have tried 2.13.1 and 2.13.2 both do not work.

Steps to Reproduce

  1. Install the extension
  2. Accept the agreement
  3. Install the package
  4. Stuck on Connector Installation

Environment

  • Operating system: Windows
  • Installation method: WPM
  • PWAsForFirefox extension version: 2.13.1
  • PWAsForFirefox native version: 2.13.1
  • Firefox version: 134.0
@Vanti-png Vanti-png added the bug Something isn't working label Jan 12, 2025
@lilskippyy
Copy link

+1
I have the same issue, same firefox version, and tried the same PWAsForFirefox versions as OP
only difference is that I tried both cocholatey and the.msi installer instead

@AnySpy
Copy link

AnySpy commented Jan 13, 2025

I was having this issue too. It came from trying to reinstall the connector.

If you go to the installation directory (default C:\Users{Username}\AppData\Roaming on Windows) and delete the entire folder manually (for me, "FirefoxPWA"), it'll allow you to reinstall the connector and advance to runtime installation.

Hopefully that fixes it for you two!

@filips123
Copy link
Owner

Are there any errors in the extension logs?

Also, can you check if registry keys HKLM\Software\Mozilla\NativeMessagingHosts\firefoxpwa and HKCU\Software\Mozilla\NativeMessagingHosts\firefoxpwa exist and what are their values?

@AnySpy
Copy link

AnySpy commented Jan 14, 2025

Dealing with the issue now and the solution I provided above didn't work :(

Here's what shows in the extension log:

image

(Screenshot shows the installation path on the left. This is a fresh install using 2.13.2, default installation settings)

The registry has both with:

HKLM as
Name: (Default)
Value: C:\Program Files\FirefoxPWA\firefoxpwa.json

And HKCU as
Name: (Default)
Value: C:\Users\gamer\AppData\Local\Programs\FirefoxPWA\firefoxpwa.json

Changing HKCU to the installation path (same as HKLM) fixed this for me.

@filips123
Copy link
Owner

It seems that you have two versions installed, one just for your user and another system-wide.

Please check if you have multiple PWAsForFirefox versions listed in the control panel or settings. If you have, try to uninstall all of them and install the program again (system-wide is recommended).

You can also check this for a few more steps that you can try if just reinstalling won't work.

@AnySpy
Copy link

AnySpy commented Jan 14, 2025

image

The control panel only shows one version too, strangely, but I think my issue does come from #268. I did exactly what happened over there.

Thank you!

@lilskippyy
Copy link

It seems that you have two versions installed, one just for your user and another system-wide.

Please check if you have multiple PWAsForFirefox versions listed in the control panel or settings. If you have, try to uninstall all of them and install the program again (system-wide is recommended).

Looks like my issue was I had previously installed user only, uninstalled, then later installed system-wide. System wide was not working because the installation didn't write the right registry key, it seems.
Now I installed user only again, and it's working. I'm gonna leave it like that for now. At least it's working again.

Thanks!

@Vanti-png
Copy link
Author

HKLM as Name: (Default) Value: C:\Program Files\FirefoxPWA\firefoxpwa.json

And HKCU as Name: (Default) Value: C:\Users\gamer\AppData\Local\Programs\FirefoxPWA\firefoxpwa.json

Changing HKCU to the installation path (same as HKLM) fixed this for me.

The paths were the same for me and this fixed it. I can use extension and add sites but they wont open and gives an error: "Failed to patch the runtime: Path "C:\Users\User\AppData\Local\Programs\FirefoxPWA\userchrome/runtime" does not exist or you don't have access!" and there is nothing in "C:\Users\User\AppData\Local\Programs".

@filips123
Copy link
Owner

The user-specific install has priority over the global one, so if user-specific (HKCU) keys exist, it will try to use them. So, if the user-specific installation was removed, but the keys remained for some reason, it will try to use them and fail.

You should remove HKCU\Software\filips\FirefoxPWA and HKCU\Software\Mozilla\NativeMessagingHosts\firefoxpwa if they are still present.

@Vanti-png
Copy link
Author

Removing "HKCU\Software\filips\FirefoxPWA" fixed it.
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants