WootingKb / wootility-issues

A place to report issues with the Wootility and help with feedback on existing issues
22 stars 3 forks source link

Wootility install wil get stuck halfway #16

Open PastaJ36 opened 4 years ago

PastaJ36 commented 4 years ago

Describe the bug The installer will get stuck half way.

To Reproduce Steps to reproduce the behavior:

Screenshots / Video If applicable, add screenshots to help explain your problem image

Desktop (please complete the following information):

Wootility and Firmware version Find in your Wootility Settings

Keyboard Type Wooting one or two + language

PastaJ36 commented 4 years ago

This is probably related to this electron-builder issue: https://github.com/electron-userland/electron-builder/issues/4057#issuecomment-524736776

We got confirmation from 2 people on discord that clearing their registry allowed the install to complete. We can add deleting the registry key before install to prevent this issue.

Rocky04 commented 4 years ago

I forgot about that...

Reproduction Like mentioned in the link, it can be forced by deleting the Wootility data manually (not via the uninstaller) and a try to re-install the app again normally.

Known Workaround Try to uninstall the app via the Win program removal panel from the system control panel so that the app entry get removed even if the uninstall aren't run.

PastaJ36 commented 4 years ago

This weekend I found out another way to force this issue. When you build a Windows installer on Mac, the NSIS installer can get corrupted and you won't be able to remove the entry from the Windows uninstall menu. To fix this you need to manually delete the registry entries.

It could be that that is why some older Wootility versions have this issue, because I used to build every platform on Mac. Since the release of Catalina we've been building on every platform natively.

Rocky04 commented 4 years ago

I think the problem was maybe present from the beginning and maybe still is.

Right now the Wootility name changes each version which results in multiple entries on a Win system after an update. So if the name will be fixed and not include the version number in it anymore, the problem will be maybe happen on each update.

As far as I know the installing problem can be solved just by uninstalling the app via Win itself, then a message should appear that it wasn't possible to uninstall it and asks the user to remove the entry instead. A fix can be to uninstall the app before the new installtion but I don't know how Electron is working and if this is even possible in an easy way.

PastaJ36 commented 4 years ago

In my case with the Mac build installer, I couldn't even uninstall through the Windows uninstall. It would throw a NSIS error and not give the popup to remove the entry.

Rocky04 commented 4 years ago

After a quick search the NSIS error indicate that the self check of the software wasn't correct. This would indicate that indeed something isn't correctly set up on your Mac build installer.

If I understand you right you were able to install the app correctly but not to uninstall it? If so it's very strange.