-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
Difficulties installing NVDA 2024.3beta1 #16784
Comments
Hi, having encountered similar issues on alpha builds, I found that one way to “resolve” this is to wait until NVDA finishes announcing User Account Control screen content, say “yes”, and wait for the installation to complete. Thanks.
|
Thanks for your feedback @josephsl. Have you a link (GitHub or mailing list discussions) where your experience on alpha is described? My experience is not really similar though. |
I have seen this with a recent alpha build as well. Thought it was just random. I was able to fix it by executing |
No, no braille display was connected. |
I am able to reproduce the issue, with the cause being that nvda_slave.exe is currently running suspended, when it should not be running at all.
The only place this occurs is when starting NVDA from the desktop shortcut or with After killing nvda_slave.exe and trying many more installs and restarts of NVDA with control+alt+n, I am unable to reproduce the issue. So, I have no current idea what is causing nvda_slave.exe to sty around suspended. We may have to consider adding specific code to the installer to kill nvda_slave.exe, though this is pretty drastic. As to why it is suddenly starting to happen now, and how... Perhaps it is a very recent change in Windows 11? Also, NVDA seeming to be broken after failed installation I think is more that the Windows shell is confused about nvda_slave.exe being around suspended. I think we can rule out install corruption - installer code added earlier this year ensures that if any of the exe files cannot be replaced, then no changes are made to the existing install. |
@michaelDCurran wonders:
Not at all. As detailed in this issue's initial description, the issue has occurred on Windows 10 22H2 on my end. |
@CyrilleB79 Ah sorry I misread your OS version. Most likely not a new Microsoft issue then. |
We are going to try killing the nvda_slave.exe process using |
I have just had the issue again while installing 2024.3beta2 on the same computer. This time, there were no virus scan in the background. When the "Retry" dialog appeared, Instead of interrupting the installation of NVDA, I have terminated the process "nvda.exe", as suggested by @LeonarddeR in #16784 (comment), through taskmanager rather than through command line though. Then I have pressed "Retry" and NVDA's installation has been able to complete successfully. |
Same issue with 2024.3beta3 and same solution killing nvda.exe. It's worth noting that the nvda.exe process account that I kill is launched with the same session user name, so we can eliminate interference from:
Also, after having killed this process, NVDA still speaks without any problem, both on secure screen and in the user session. @seanbudd or @michaelDCurran, the problem seems 100% reproducible on this machine for any update of 2024.3beta. It would be the opportunity to investigate this if you wish to do so. By the way, I am able to trigger the issue performing a fake update as follows:
|
By the way @gerald-hartig why did you change the priority of this issue? According to triage doc:
Installation NVDA 2024.3 is the preliminary step to perform any task in NVDA 2024.3. Thus I'd expect this issue to fall in P1 category. |
Note that the executable of NVDA that runs during installation is called |
@CyrilleB79 I'm guessing you can also still reproduce this from beta3 to beta3? I.e. by spoofing the version? I ask as several add-on / update notification issues were fixed around installing / exiting. And of course you would have still seen the issue on upgrade from beta2 to beta3 as beta2 still had the issue. |
@CyrilleB79 What do you mean by: If you make sure that NVDA is completely exited, no nvda.exe, then start NVDA with add-ons disabled. And then update, do you still see the issue? |
@CyrilleB79 Would you be willing to share your NVDA config? You can send this to me privately if you like. At very least, the config printed at log level debug when NvDA starts. |
After some investigations, it turns out that the issue was caused by an add-on, more specifically an unreleased and incomplete version of my own add-on NVDA Dev & Test Toolbox. Anyway, I think that this issue may be the opportunity to investigate the following points that have been raised during investigation.
|
In my opinion, it is the responsibility of the installer to kill every executable it cannot replace. It should be able to do so when running elevated.
I think this is difficult to do by design. The installer process starts nvda_slave elevated to perform the actual install. When nvda_slave fails, the error is shown. When retry is clicked, nvda_slave needs to be restarted and re-elevated. |
@CyrilleB79 - is this still an issue? |
@seanbudd, the problem was due by an add-on in dev stage on my side, as explained in #16784 (comment). Though, @LeonarddeR wrote in #16784 (comment):
This was not the case in July, and I have not heard of something done in that matter since then. So I have not tested again but the problem should still be here, I guess. |
In my opinion, it is the responsibility of the installer to kill every executable it cannot replace. It should be able to do so when running elevated.
That may be a more intricate problem than anticipated. See the discussion in #16933.
|
@CyrilleB79 I think that build of Windows 10 was problematic and caused other similar issues too. Are you still having this issue with NVDA 2024.4.1 on a newer build of windows 10? |
Closing as invalid - this was caused by third party software |
I do not know if these issues are specific to my system. I write them here in case other people experiment the same issues than I.
Steps to reproduce:
Actual behavior:
I get the following dialog:
Notes:
After having closed all other windows and interrupted the virus scan, I press "Retry" in this dialog, without success.
Then I have cancelled the install and tried to restart NVDA with
control+alt+N
.Unfortunately, my NVDA 2024.2rc2 is in a broken state. I get the following error message:
If I restart or just disconnectclose/reopen user session, NVDA starts correctly automatically when the session open. But I cannot restart it with
control+alt+N
.No more luck trying to upgrade after computer restart.
Then I have downloaded the installer from the web and launched it manually. I get the following message:
Note: looking at the code, I can see that the date of
nvda_slave.exe
is looked at to determine if the install is older or newer. In case of error unfortunately, there is no warning logged.Finally, I have chosen to install 2024.3beta1 on 2024.2rc1, ignoring the wrong warning. The install seems successful.
Note: I have also had to validate the new certificate ("Run anyway") during this process, but I cannot remember when I did it.
Expected behavior:
NVDA should install normally.
NVDA logs, crash dumps and other attachments:
N/A
System configuration
NVDA installed/portable/running from source:
Installed (or almost)
NVDA version:
2024.2rc2 to 2024.3beta1 (install process)
Windows version:
Windows 10 22H2 (AMD64) build 19045.4529
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your computer?
Yes (at least for part of the process)
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
Yes (for part of the process at least)
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
N/A
The text was updated successfully, but these errors were encountered: