-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Unable to install or uninstall Lens on Windows #5887
Comments
First I try to update from a previous version it was impossible. So I uninstall the old one and try to install the latest one but it doesn't work |
Do you mean that installing the new version fails after manually uninstalling the previous version? From the screenshot it seems like there is a running instance of Lens somewhere. Are you installing for single user or for all users? |
Yes, I run the uninstall script from |
how the installer is checking if Lens is running or not ? |
That sounds like the tray icon is still running. Did you run Lens between the installing and uninstalling in the new location? |
Yes I just launched it after the installation. And I closed it just after. Where is the code of the installer / uninstaller ? to check what is it looking for |
@Nokel81, @aleksfront Can you tell me what the installer / uninstaller does to check if Lens is running or not ? Even if with admin right I'm unable to uninstall it Is it possible that it's an issue with the nsis uninstaller ? or maybe due to Crowdstrike that block something ? |
@Nokel81 is it possible to have any advice / help about this ? |
What is Crowdstrike? I cannot reproduce this on my windows machine, even if I leave Lens running the "OK" button on the "Lens is still running. Click OK to close" dialogue works and the uninstall process continues and succeeds. |
Crowdstrike is an EDR I think you should sign your application to possibly avoid false positive. Or may be not use nsis and switch to msi for the Windows packaging and sign the application too. |
I encountered this when trying to install Lens 6.0.0 alpha version (for any user) on top of Lens 5.5.4 (for any user). I had to manually uninstall Lens 5.5.4 first (using uninstaller in |
Hello @jim-docker I have only installed Lens for my user. And in I can install and uninstall correctly the version |
It looks like my issue is like this : electron-userland/electron-builder#6865 |
I also tried to build it locally from the source of version 5.5.4 but I have this error when I run
|
@jim-docker , @Nokel81 This is really weird, I finally installed Lens by selecting install for Anyone who uses this computer (all users) and after that, if I try to uninstall it from the control panel it doesn't work and it's the same if I try from |
You may be right here. Do you have another process running with Lens in its name? I may have had OpenLens running when I encountered this issue. There was also this comment on that issue:
Did you try install/uninstall running as admin? |
@jim-docker I have nothing running with Lens in its name. And I also tried to install/uninstall with admin rights. It's the same... Nothing works 😢 as I said previously with an old installer everything works fine (version |
@jim-docker , @Nokel81 I just found a workaround to uninstall correctly the latest version I think you have to check the version and fixes of electron-builder / nsis version to check if there are some issue with antivirus or EDR tools like Crowdstrike |
Closing because we are now using the updated version of electron-builder |
Describe the bug
I'm unable to install latest version of Lens
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I must be able to install Lens
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: