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
Embedded installer copies a lot of unneccessary files to the install path and then instalation fails #2391
Comments
Comment 1 by briang1 on 2012-05-28 11:24 |
Comment 2 by challsworth2 on 2012-05-28 11:46 |
Comment 3 by pvagner on 2012-05-28 11:52 |
Comment 4 by pvagner (in reply to comment 2) on 2012-05-28 11:56
|
Comment 5 by briang1 (in reply to comment 2) on 2012-05-28 12:32
Remember that if there have been issues which has left nvda in a strange state, it is often better to remove it and start again. Also of course when you are evaluating updating etc, it has to be borne in mind that until the temp copy runs you are still using the version with the bug in it. |
Comment 6 by jteh (in reply to comment 3) on 2012-05-28 12:54
Crap. When elevating to admin, a slave process is started. It is the slave process that has the wrong cwd. nvda_slave.pyw should chdir to sys.prefix at the top of main() if running from a binary build. I'm not sure why this isn't a problem on Vista/7, but I can definitely see how it would break. |
Comment 7 by mdcurran on 2012-05-29 01:32 |
Comment 8 by pvagner on 2012-05-29 09:47 |
Reported by pvagner on 2012-05-28 08:58
If the installer is launched by the user with limited privileges and then asks for administrative user privileges files from windows\system32 are copied to the nvda install path.
STR
Results
Installer window will be showing indifinate progress bar for a longer time than expected, NVDA wil beep. After a long while the install will fail.
NVDA install folder will be full of unnecessary system files at this point.
expected results
NVDA should install and avoid copying a bunch of unrelated files.
The text was updated successfully, but these errors were encountered: