New upgrade method on Windows fails every time

Operating system

Windows

Joplin version

3.2.6

Desktop version info

Joplin 3.2.6 (prod, win32)

Client ID: 00c9fd9435fb4ae6a79ef6b390ea069c
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 40914be

Combine notes: 1.2.2
Favorites: 1.3.2
Freehand Drawing: 2.13.0
Hotfolder: 1.1.1

What issue do you have?

Since the new upgrade prompt in app, rather than the traditional download and upgrade, for me, this simply does not work. It fails to install every single time. I did find the article where it said about removing the prior install key from the registry. If you do this, it will work. But, on the next upgrade, it will fail again. Edit the registry and it works, then next time, it fails again. I think I am on version/fail 3, now, so, even though I saw somthing in the last release notes about detecting when it was in use (I think this only applied to the first release like this), it is still unusable for me, requiring manual registry edits to get it to work each time.

In case it helps, these are the keys (attached)

Screenshots

Thanks for the report. What keys exactly do you delete to make it work? We should automate this and delete them before installing the app

I have been deleting the entire tree, so, from the 'folder' on the left. After that, the installation will work just fine. I wonder if this is due to the installer simply installing - I cannot recall seeing it do an 'uninstall' first, as many do. Thanks. Let me know if you need any further information.

Thank you for pointing to that section of the registry!

Information that might be helpful:

  • Do the files referenced by UninstallString and QuietUninstallString exist?
    • If so, does the upgrade work if the uninstaller referenced by UninstallString is temporarily renamed? (Without updating the registry key).
  • Is this a single-user installation of Joplin or a global installation?
  • Are auto-updates enabled (settings > application > advanced)?
  • Does upgrading from Joplin v3.2.5 to a later version work?
    • One possibility is that Joplin, when installed, isn't properly creating its uninstaller. v3.2.5 uses a newer (alpha) version of electron-builder, which might change how the uninstaller is created. (v3.2.6 and v3.2.7 use the older electron-builder version.)

So, the files in the uninstall strings do exist

image

Auto updates are enabled

I am on 3.2.8 now, so not sure I can test the 3.2.5, but this issue has existed for a little while. Maybe 3 or 4 versions. I will attempt to answer the others and provide further notes when I get another upgrade prompt.

Just thought I'd update this. The last 2 upgrades did complete, but with this error (which I guess was added as a result of the above!). Apart from that, though, all seems good. The new version does install when you 'skip'.

1 Like