Skip to content
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

rustup-setup.exe panics before install completes on windows #181

Closed
brson opened this Issue Mar 28, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@brson
Copy link
Contributor

brson commented Mar 28, 2016

Just tried this on Windows 8.1

First of all, "Windows SmartScreen prevented an unrecognized app from running. Running this app might put your PC at risk. Publisher: Unknown Publisher".

After the confirmation Y of Continue? (Y/n) the console window closes very quickly. I noticed some panic message before the window closed, but it disappears too quickly to be read. HKEY_CURRENT_USER/Environment/PATH is not updated, some binaries however appear in %USERNAME%.cargo.

Source.

@petrochenkov

This comment has been minimized.

Copy link
Contributor

petrochenkov commented Mar 29, 2016

the console window closes very quickly

rustup-setup.exe not reusing the existing console from which it's run, but creating its own console instance, is probably a problem too.

@brson brson changed the title rustup-setup.exe panics before install completes, does not configure PATH rustup-setup.exe panics before install completes Mar 31, 2016

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Mar 31, 2016

rustup-setup.exe not reusing the existing console from which it's run, but creating its own console instance, is probably a problem too.

@petrochenkov When I run rustup-setup.exe from a command console or mintty console it does not create a new console. I've filed another issue to deal with that specifically.

And I've changed this issue to be just about the mystery error and closing console. Here's another bug about windows PATH not being configured.

@brson brson changed the title rustup-setup.exe panics before install completes rustup-setup.exe panics before install completes on windows Mar 31, 2016

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Mar 31, 2016

Agh! I reproduced this this morning but no longer can. When I run the restup-setup.exe from exe.rustup.rs it opens a console, waits for confirmation, does the install, then waits for keypress as expected.

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Mar 31, 2016

Haha, ok, I can reproduce what this is probably seeing by having a compile running while trying to install, making it impossible to delete the bins. What I can probably do is make it so interactive installs on windows display the error, then wait for keypress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.