-
Notifications
You must be signed in to change notification settings - Fork 291
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
Windows CoApp Registration failed with custom install location #201
Comments
Hi, I'm trying to understand what could have happened. To summarize:
Correct? I'll look into this as soon as you confirm the problem. |
Yes, what you said is correct. THIS DOES NOT WORK: Mozilla Firefox (Portable) installed at: Video DownloadHelper 8.1.4.0 CoApp 2.0.10 installed at (I tried both Windows 64-bit and 32-bit versions): THIS WORKS: Mozilla Firefox (Portable) installed at: Video DownloadHelper 8.0.0.6 CoApp 1.6.3 installed at: The only difference between what works and does not work is the VDH and CoApp versions. The custom install location is the exact same in both scenarios except that the new CoApp folder is named differently than what it used to be named. Also, no Antivirus blocking anything. I am just going to use the older version until you figure things out. |
If that's possible, do you mind trying to install the coapp v2 into its default location? I would like to understand if it's an issue with the custom install location or the existence of a previously installe V1 coapp (which I think is the issue here). Thanks for helping out. |
Please tell me what the default location is. I had already replaced it with my desired location. Also, it won't work if the default location is in some folder for the desktop version of Mozilla Firefox as I don't have a desktop version of the browser installed. EDIT: |
I did as you asked. It did not work. I updated VDH. I installed CoApp to "C:\Program Files\DownloadHelper CoApp". I restarted my browser. |
Can you check this for me: In your registry (regedit) can you look up this value for me:
And maybe:
I need to know the "Data" section (it's a path, like c:\Program Files\…). This is what Firefox looks at to know the position of the JSON file. My guess is that Let me know. Thank you again. |
Do I have to reinstall the newest VDH and CoApp first before I check? I already reverted back to the old version. Also, do I have to install CoApp in the default location even though I want the custom location? |
Please install the CoApp v2 (anywhere you want) and Addon 8.1. It will not be recognized as per your bug. Look at the registry like I mentioned. Check that the values point to the right json file. After than, remove CoApp v2, install CoApp v1. Does the Addon recognize the CoApp v1? (I think it will, and it will tell you to update) Look at the registry again. Thank you! |
Okay, I did as you asked. I also restarted the browser and Registry Editor each time. Video DownloadHelper 8.1.4.0 Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp Computer\HKEY_CURRENT_USER\SOFTWARE\Wow6432Node Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp Note: After this, I just deleted the DownloadHelper CoApp folder for the next step. I did not use the uninstall.exe inside (never have before). And then I installed CoApp 1.6.3. Video DownloadHelper 8.1.4.0 "Companion App outdated - please update". It wouldn't let me download any videos, which is why I was tempted to install Video DownloadHelper 8.0.0.6 to pair with CoApp 1.6.3, and then get the registry data for that pairing. But you didn't ask me to, so I didn't. Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp Computer\HKEY_CURRENT_USER\SOFTWARE\Wow6432Node Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp Video DownloadHelper 8.1.4.0 I had never ever used the CoApp uninstallers before. I noticed it just now and decided to use it to see if it made a difference. It only deleted a net.downloadhelper.coapp folder in HKEY_LOCAL_MACHINE, but didn't delete the same folder in HKEY_CURRENT_USER. "Companion App not installed Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp Computer\HKEY_CURRENT_USER\SOFTWARE\Wow6432Node Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp This is something else that I wanted to share. "Companion App not installed CoApp 1.6.3 is installed in a folder called net.downloadhelper.coapp, but CoApp 2.0.10 is installed in a folder called DownloadHelper CoApp. So why is Video DownloadHelper 8.1.4.0 looking for net.downloadhelper.coapp? And more importantly, why is Data: (value not set) for everything related to DownloadHelper CoApp (CoApp 2.0.10)? |
You're not the only one with this issue. I'm actively trying to understand what's going on here. I keep you updated. |
You confirm that you use a 64 bits Windows, with the 64 bits CoApp V2, and you use Firefox 64 bits? If you run in a prompt this command, what does it say?
|
Yes. 64 bit Windows, 64 bit CoApp v2, 64 bit Mozilla Firefox (Portable). Windows 10. If I copy and paste that command in Command Prompt while using VDH 8.0.0.6 and CoApp v1 (because this combination is the only thing that works for me), I get the following response: Do you need me to test it out with VDH 8.1.4.0 and CoApp v2 and also VDH 8.1.4.0 and CoApp v1 as well? |
Thank you for trying this out. With CoApp V1, what does this say:
Then, install the V2, and tell me again what these 2 commands say? I think maybe Portable Firefox is built in 32 bits mode. So maybe coapp v2 32 bits will work for you. |
When I click "About Mozilla Firefox", it tells me that it is 121.0.1 (64-bit). But on the Firefox Portable website, it says "Firefox Portable is a dual-mode 32-bit and 64-bit app, ensuring Firefox runs as fast as possible on every PC." Step 01 - VDH 8.0.0.6 and CoApp v1 Input: Output: Input: Output: Step 02 - VDH 8.1.4.0 and CoApp v1 "Companion App outdated - please update." Input: Output: Input: Output: Step 03 - VDH 8.1.4.0 and CoApp v2 (64-bit) (in Firefox Portable folder) "Companion App not installed." PS - I used CoApp v1 uninstaller before installing CoApp v2. Input: Output: Input: Output: Step 04 - VDH 8.1.4.0 and CoApp v2 (32-bit) (in Firefox Portable folder) "Companion App not installed." PS - I used CoApp v2 (64-bit) uninstaller before installing CoApp v2 (32-bit). Input: Output: Input: Output: |
This is really strange that your 64bits portable firefox reads the 32bits registry. Do you confirm that if you copy (with regedit) the value of
into
Then the coapp is recognized? |
VDH 8.1.4.0 and CoApp v2 (64-bit) (in Firefox Portable folder) "Companion App not installed." HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\net.downloadhelper.coapp I restarted the browser. Still "Companion App not installed." Is it possible that the space in "DownloadHelper CoApp" creates problems? Previously, with CoApp v1, it was "net.downloadhelper.coapp" which had no spaces. I don't know. I am just throwing out random ideas. |
With VDH 8.1.4.0 and CoApp v2 (64-bit), why does VDH tell me "no such native application net.downloadhelper.coapp"? CoApp v1 was installed in "net.downloadhelper.coapp". but CoApp v2 isn't. This message is outdated. If it is looking for CoApp v2, it should say "no such native application DownloadHelper CoApp" |
No. That's the ID of the app. And it's correct. So the Regedit key should be:
If you set |
Ok so apparently some custom builds of Firefox (Portable or Waterfox), even in 64bits mode, use the 32 bits registry db. The coapp would then need to enforce that somehow. I'll be looking at it. |
I believe the following is accurate, but I might have made some mistakes. COAPP v1 installs the following: COAPP v2 installs the following: If I use the COAPP v1 uninstaller before installing COAPP v2, this disappears: It seems that you want me to change the json path for: As a result from this and previous tests, the following: But I still get: |
This is what COAPP v1 installs in the "net.downloadhelper.coapp" folder: This is what COAPP v2 installs in the "DownloadHelper CoApp" folder: Is it possible that VDH is not detecting COAPP v2 json file because the "DownloadHelper CoApp" folder is missing the bin and converter subfolders that COAPP v1's "net.downloadhelper.coapp" folder has? |
This is confusing me a lot… I don't understand why you get If you start a CMD prompt and type:
Does it say anything? You can also directly contact me on Discord: https://discord.gg/ygCp6zPE if that's easier for you. |
If I open up Command Prompt from the Windows 10 Start menu and type: This is the response: "This is confusing me a lot… I don't understand why you get HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\DownloadHelper CoApp. As far as I know, we never create that key. It's very strange." What is so strange about it? I already mentioned four times that COAPP v2 installs to a "DownloadHelper CoApp" folder instead of how COAPP v1 installs to a "net.downloadhelper.coapp" folder. Obviously, someone wanted to change "net.downloadhelper.coapp" to "DownloadHelper CoApp" so it makes sense to not only change the folder name but also the registry name. Why does this not make sense? Aren't you the one who made these change? If not, what don't you consult with THAT person and maybe you guys can reference this GitHub thread and figure out what is going on. I don't want to chat on Discord. I will continue using this GitHub Issue thread. |
I don't know anything about Command Prompt, but I decided to try extra quotation marks (because of the spaces). This was the response:
|
I made these changes myself. I'm the main developer of the CoApp, and wrote the Windows Installer code. Thanks for reporting these information. I know what's going on as we have a similar issues with other custom-built Firefox. I appreciate the time you spent helping out. I will address the issues in an upcoming update. |
The next time that I install any version of VDH and CoApp, I'm going to manually delete all those registry keys. I don't know if it will make a difference, but I don't see why they are needed. A new install will just recreate them, and by deleting them beforehand I can remove some registry keys that are no longer needed, which will diminish some confusion and make things less cluttery. |
I dont think it is a registry problem because I'm on Linux Mint with Firefox and Tor Browser. VDH 8.1.4.0 cannot find CoApp. I think VDH 8.1.4.0 is generally broken with Firefox based Browsers. |
There are some special configurations where we're having issues indeed. Linux Mint is one of them. Here are my recommendations, and let me know if that helps or not: Make sure to run the install command as non-root use:
Make sure you greenlight the coapp in flatpak:
Restart Firefox, and let me know if this helps. |
This command has fixed Firefox, but not Tor Browser. As far as I can see in the script output, TB is not recognized, there is no word about TB. In my case, TB was not installed via dpkg or flatpak. It is simply a decompressed zip. |
I am not in a hurry to get this problem fixed, because I am using VDH 8.0.0.6 with CoApp v1, and it works. I am also not in a hurry to try any new release or update because I don't want to encounter problems again, and I am too lazy to do any more testing for a while. I would rather wait until there is a solid, stable release where everyone says the problem has been fixed. But I want to know if you will let me know once it is fixed by making a post in this Issue. I don't see a changelog that says "this problem has been fixed" and I don't want to assume something is fixed when it is not. So I am hoping you will post on this Issue once it has been fixed. Or if not, that's fine, but please let me know that you won't let me know so I won't be waiting forever. Thank you. |
You'll get a github notification when this is fixed. |
Hi. It's been four months (Feb 7 but almost Jun 7 now). No hurry, but I was wondering if you still plan on figuring this out. |
@paulrouget - I am going to try and make the switch from Mozilla Firefox to Google Chrome because Firefox feels outdated. I just realized that I had a VDH license for Firefox that I never really used. I meant to use it to convert files but I never needed to convert anything. Anyway, is there any way I can convert this license to Google Chrome so I won't have to buy it again? |
See: #201 (comment)
The text was updated successfully, but these errors were encountered: