GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — win,msi: install Boxstarter from elevated shell by joaocgreis · Pull Request #22988 · nodejs/node Conversation
Member
This fixes the issue described in #22645 (comment) (cc @targos). Boxstarter asks for elevation to install packages, but not to install Boxstarter itself. If Boxstarter is already installed, the command succeeds with or without elevation. This PR changes the batch file to run all the commands from an elevated PowerShell. LTS and semver: This is a bug fix for #22645, which is currently only in master. That PR is cc @nodejs/platform-windows @richardlau Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsBoxstarter asks for elevation to install packages, but not to install Boxstarter itself. Thus, run all the commands from an elevated PowerShell. Refs: nodejs#22645
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
2 tasks done
|
There was an error while loading. Please reload this page.
|
Test build so we can try it: https://ci-release.nodejs.org/job/iojs+release/3775/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I tested it and it works, nice! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This does not permamently install Boxstart itself, just the required packages, right? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It permanently installs the Boxstarter shell |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is that visible to the user prior to the installation? The MSI dialog window does not seem to say so. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tniessen there's a mention of Boxstarter in the shell text before installation. This installs Chocolatey and Boxstarter as system tools (which are a good thing to have I believe). The most visible part is the Boxstarter Shell that appears in the desktop. Do you think that's an issue? I could add a hackish workaround for that, but I'd rather not unless it proves to be a problem. There are links for manual steps for people that want more control over the installation. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently, the installation wizard more or less silently installs third-party software (Boxstarter + Chocolatey). This adds some text to the MSI installation dialog and to the Boxstarter installation script. Refs: nodejs#22645 Refs: nodejs#22988
I agree, but it should be obvious to the user that that is going to happen, and I don't think it currently is. I opened #23003 to deal with that. This discussion is unrelated to this PR though, the change itself LGTM. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tniessen @joaocgreis Is this ready for landing? It seems that way but I’m super unfamiliar with the subject matter so I don’t feel comfortable pushing the button just yet. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'd think so, but I cannot actually test the installer right now, would be great if someone else from @nodejs/platform-windows could confirm. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently, the installation wizard more or less silently installs third-party software (Boxstarter + Chocolatey). This adds some text to the MSI installation dialog and to the Boxstarter installation script. PR-URL: #23003 Refs: #22645 Refs: #22988 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: João Reis <[email protected]>
|
This is ready to land. Both @targos and I tested this, I tested on Windows 7, 2012R2 and 10. It is possible (or even likely) that some program out there or some configuration will make the installation fail, so more testing would always be welcome. (I believe that using Chocolatey/Boxstarter is both the simplest way and the one that will cause less issues, but installing these tools is hard.) I will land this tomorrow if no one gets to it first or finds any issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Boxstarter asks for elevation to install packages, but not to install Boxstarter itself. Thus, run all the commands from an elevated PowerShell. Refs: #22645 PR-URL: #22988 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently, the installation wizard more or less silently installs third-party software (Boxstarter + Chocolatey). This adds some text to the MSI installation dialog and to the Boxstarter installation script. PR-URL: #23003 Refs: #22645 Refs: #22988 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: João Reis <[email protected]>
Boxstarter asks for elevation to install packages, but not to install Boxstarter itself. Thus, run all the commands from an elevated PowerShell. Refs: #22645 PR-URL: #22988 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.